Constructors
constructor
- new World(container: LayoutBase, width: number, height: number): World
-
Parameters
-
container: LayoutBase
-
width: number
-
height: number
Properties
Private container
container: LayoutBase
Private height
height: number
Private previous
previous: number
Private width
width: number
Methods
addEntity
- addEntity(entity: Entity): void
getContainer
- getContainer(): LayoutBase
removeEntity
- removeEntity(entity: Entity): void
Private update
- update(deltaTime: number): void