UNPKG

bp-prism-game

Version:
29 lines (28 loc) 749 B
import { GameService } from '../../service/game.service'; import { BaseClass } from '../base.class'; import { ObservableModel } from '../../model/observable.model'; /** * The Prism Base Class */ export declare class PrismBaseClass extends BaseClass { /** * moves */ private moves; /** * Constructor * @param gameService The GameService * @param ctx The ctx * @param guid The guid of the alien */ constructor(gameService: GameService, ctx: CanvasRenderingContext2D, guid: number); /** * Load the alien Images */ private loadPrismBaseImages; /** * Press Key Stroke * @param event The Key event */ protected processKeyStroke(event: ObservableModel): void; }