bp-prism-game
Version:
The BP Prism Game
34 lines (33 loc) • 872 B
TypeScript
import { GameService } from '../../service/game.service';
import { AssetClass } from '../../asset/asset.class';
import { IAsset } from '../../interface/asset.interface';
/**
* The Prism Blast Icon Class
*/
export declare class PrismBlastIconClass extends AssetClass {
/**
* Constructor
* @param gameService The GameService
* @param ctx The ctx
* @param guid The guid of the prism blast
*/
constructor(gameService: GameService, ctx: CanvasRenderingContext2D);
/**
* Load the Letter Images
*/
private loadIconImages;
/**
* Position the icon
* @param position The position of the icon
* Load the Letter Images
*/
position(position: IAsset): void;
/**
* Draw evenything necessary
*/
protected draw(): void;
/**
* Animate the prism blast
*/
animate(): void;
}