UNPKG

bp-prism-game

Version:
25 lines (24 loc) 715 B
import { GameService } from '../service/game.service'; import { AssetClass } from '../asset/asset.class'; import { ImageLoadedEnum } from '../enum/image-loaded.enum'; /** * The Level Class */ export declare abstract class LevelClass extends AssetClass { /** * Constructor * @param gameService The GameService * @param ctx The ctx * @param guid The guid of the level * @param imageType The animation number of the level */ constructor(gameService: GameService, ctx: CanvasRenderingContext2D, guid: number, imageType: ImageLoadedEnum); /** * Draw everything necessary */ protected draw(): void; /** * Animate the Level */ animate(): void; }