UNPKG

@tdurtschi/bug

Version:

Bug is a simulation that models a weevil walking around in an HTML canvas.

13 lines (12 loc) 335 B
import Entity, { EntityState } from "../entity"; import Victor from "victor"; declare class Wall implements Entity, EntityState { pos: Victor; size: Victor; id: number; state: EntityState; updateSpeed: 0; constructor(id?: number, initialState?: Partial<EntityState>); update(): void; } export default Wall;