UNPKG

bp-prism-game

Version:
51 lines (50 loc) 878 B
import { GameService } from './game.service'; /** * The gameboard service */ export declare class GameboardService { private gameService; private ctx; /** * The level */ private level; /** * The path */ private path; /** * The gameboard one */ private levelOne; /** * The pathService */ private pathService; /** * The constructor */ constructor(gameService: GameService, ctx: CanvasRenderingContext2D); /** * Build Paths */ private buildPaths; /** * Set the paths */ private setPath; /** * Animate the path * */ initPath(): void; /** * Add the bridge gameboard */ private addBridge; /** * Initialize the gameboard * @param now the current time */ animate(now?: number): void; }