bp-prism-game
Version:
The BP Prism Game
64 lines (63 loc) • 1.38 kB
TypeScript
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 Alien Component
*/
export declare class NumberComponent implements OnInit {
private gameService;
/**
* The canvas
*/
canvas: ElementRef<HTMLCanvasElement>;
/**
* CTS
*/
private ctx;
/**
* request Id
*/
private requestId;
/**
* The letter
*/
private number;
/**
* Debug Assets
*/
assets: AssetConfigurationModel[];
/**
* The Constructor
* @param gameService The GameService from DI
*/
constructor(gameService: GameService);
/**
* On Init
*/
ngOnInit(): void;
/**
* Add the letters
*/
private addNumber;
/**
* Animate the object once
*/
animateAsset(): void;
/**
* Draw the board
*/
private draw;
/**
* Animate
*/
animate(): void;
/**
* toggleAssets
*
* @param key The asset to display
*/
toggleAssets(key: string): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NumberComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NumberComponent, "bp-prism-number", never, {}, {}, never, never>;
}