UNPKG

bp-prism-game

Version:
49 lines (48 loc) 1.05 kB
import { OnInit, ElementRef } from '@angular/core'; import { GameService } from '../../service/game.service'; import * as i0 from "@angular/core"; /** * The Missile Component */ export declare class MissileComponent implements OnInit { private gameService; /** * The canvas */ canvas: ElementRef<HTMLCanvasElement>; /** * CTS */ private ctx; /** * request Id */ private requestId; /** * The missile */ private missile; /** * The Constructor * @param gameService The GameService from DI */ constructor(gameService: GameService); /** * On Init */ ngOnInit(): void; /** * Animate the object once */ animateAsset(): void; /** * Draw the board */ private draw; /** * Animate */ animate(): void; static ɵfac: i0.ɵɵFactoryDeclaration<MissileComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<MissileComponent, "bp-prism-missile", never, {}, {}, never, never>; }