UNPKG

bp-prism-game

Version:
28 lines (27 loc) 720 B
import { GameService } from '../service/game.service'; import { AssetClass } from '../asset/asset.class'; import { ImageLocationModel } from '../model/image/image-location.model'; /** * The Prism Base Class */ export declare abstract class BaseClass extends AssetClass { /** * The current base */ protected currentBase: ImageLocationModel; /** * Constructor * @param gameService The GameService * @param ctx The ctx * @param guid The guid of the alien */ constructor(gameService: GameService, ctx: CanvasRenderingContext2D, guid: number); /** * Draw the base */ protected draw(): void; /** * Animate the base */ animate(): void; }