UNPKG

bp-prism-game

Version:
27 lines (26 loc) 688 B
import { GameService } from '../service/game.service'; import { AssetClass } from '../asset/asset.class'; import { ImageLocationModel } from '../model/image/image-location.model'; /** * The Character Class */ export declare abstract class CharacterClass extends AssetClass { /** * The current characters */ protected characters: ImageLocationModel[]; /** * Constructor * @param gameService The GameService * @param ctx The ctx */ constructor(gameService: GameService, ctx: CanvasRenderingContext2D); /** * Draw evenything necessary */ protected draw(): void; /** * Animate the bomb */ animate(): void; }