UNPKG

@matematrolii/sketchbook

Version:

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

9 lines (8 loc) 291 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; }