UNPKG

bp-prism-game

Version:
73 lines (72 loc) 1.51 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 Letter Component */ export declare class LetterComponent implements OnInit { private gameService; /** * The canvas */ canvas: ElementRef<HTMLCanvasElement>; /** * CTS */ private ctx; /** * request Id */ private requestId; /** * The letter */ private letter; /** * The scale */ private fullScale; /** * Debug Assets */ assets: AssetConfigurationModel[]; /** * The Constructor * @param gameService The GameService from DI */ constructor(gameService: GameService); /** * On Init */ ngOnInit(): void; /** * Add the letters */ private addLetter; /** * Animate the object once */ animateAsset(): void; /** * Draw the board */ private draw; /** * Animate */ animate(): void; /** * toggleScale * */ toggleScale(): void; /** * toggleAssets * * @param key The asset to display */ toggleAssets(key: string): void; static ɵfac: i0.ɵɵFactoryDeclaration<LetterComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<LetterComponent, "bp-prism-letter", never, {}, {}, never, never>; }