UNPKG

@matematrolii/sketchbook

Version:

3D matematrolii playground built on three.js and cannon.js

11 lines (9 loc) 283 B
import { World } from '../world/World'; import { EntityType } from '../enums/EntityType'; import { IUpdatable } from './IUpdatable'; export interface IWorldEntity extends IUpdatable { entityType: EntityType; addToWorld(world: World): void; removeFromWorld(world: World): void; }