UNPKG

bp-space-invaders

Version:
16 lines (15 loc) 481 B
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; }