UNPKG

bp-prism-game

Version:
23 lines (22 loc) 570 B
import { GameService } from '../../service/game.service'; import { SceneryClass } from '../scenery.class'; /** * The Rock Class */ export declare class RockClass extends SceneryClass { /** * 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 Rock Images */ private loadRockImages; /** * Draw everything necessary */ protected draw(): void; }