bp-space-invaders
Version:
The BP Space Invaders Game
16 lines (15 loc) • 481 B
TypeScript
import { BoundarySetupModel } from '../model/boundary-set.model';
export declare class MoonService {
private ctx;
private boundary;
private leftBoundary;
private rightBoundary;
private boundaryStakeWidth;
private boundaryStakeHeight;
constructor(ctx: CanvasRenderingContext2D, boundary: BoundarySetupModel);
drawTheMoon(): void;
animate(): void;
getMoonTop(): number;
getMoonLeftBoundary(): number;
getMoonRightBoundary(): number;
}