bp-prism-game
Version:
The BP Prism Game
59 lines (58 loc) • 1.76 kB
TypeScript
import { OnInit } from '@angular/core';
import { GameConfigurationModel } from '../model/game-configuration.model';
import { DebugAssetsModel } from '../model/debug-assets.model';
import { AssetConfigurationModel } from '../model/asset-configuration.model';
import { DisplayDialogService } from '../service/display-dialog.service';
import { GameCookieService } from '../service/game-cookie.service';
import * as i0 from "@angular/core";
/**
* The prism component
*/
export declare class PrismComponent implements OnInit {
private displayDialogService;
private gameCookieService;
/**
* The debug variable
*/
isDebug: boolean;
/**
* Debug Assets
*/
debugAssets: DebugAssetsModel;
/**
* Debug Assets
*/
assets: AssetConfigurationModel[];
/**
* Constructor
*
* @param displayDialogService The MatDialog from DI
* @param gameConfiguration The Game Configuration
* @param gameCookie The Game Cookie Service
*/
constructor(displayDialogService: DisplayDialogService, gameConfiguration: GameConfigurationModel, gameCookieService: GameCookieService);
/**
* On Init
*/
ngOnInit(): void;
/**
* toggleAssets
*
* @param asset The asset to display
*/
toggleAssets(asset: string): void;
/**
* Open the game over dialog
*/
openDisplayGameOverDialog(): void;
/**
* Open the next level dialog
*/
openDisplayNextLevelDialog(): void;
/**
* Open the game paused
*/
openDisplayGamePausedDialog(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PrismComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<PrismComponent, "bp-prism-game", never, {}, {}, never, never>;
}