UNPKG

bp-prism-game

Version:
58 lines (57 loc) 1.32 kB
import { OnInit, ElementRef } from '@angular/core'; import { GameService } from '../../../service/game.service'; import { AssetConfigurationModel } from '../../../model/asset-configuration.model'; import * as i0 from "@angular/core"; /** * The Prism Blast Icon Component */ export declare class PrismBlastIconComponent implements OnInit { private gameService; /** * The canvas */ canvas: ElementRef<HTMLCanvasElement>; /** * CTS */ private ctx; /** * request Id */ private requestId; /** * The prismBlast */ private prismBlast; /** * Debug Assets */ assets: AssetConfigurationModel[]; /** * The Constructor * @param gameService The GameService from DI */ constructor(gameService: GameService); /** * On Init */ ngOnInit(): void; /** * Add the aliens */ private addPrismBlasts; /** * Animate the object once */ animateAsset(): void; /** * Draw the board */ private draw; /** * Animate */ animate(): void; static ɵfac: i0.ɵɵFactoryDeclaration<PrismBlastIconComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<PrismBlastIconComponent, "bp-prism-blast-icon", never, {}, {}, never, never>; }