Type alias IEntityContainer
IEntity
Container
: { generateEntity
(networked
?: boolean): Entity; getEntityState
(entity
: Entity): EntityState; getExistingEntities
(): Set<Entity>; releaseRemovedEntities
(): Entity[]; removeEntity
(entity
: Entity): boolean; updateRemovedEntity
(entity
: Entity): boolean; updateUsedEntity
(entity
: Entity): boolean; }
Type declaration
-
generateEntity:function
- generateEntity(networked?: boolean): Entity
-
Parameters
-
Optional
networked: boolean
-
getEntityState:function
- getEntityState(entity: Entity): EntityState
-
-
getExistingEntities:function
- getExistingEntities(): Set<Entity>
-
Returns Set<Entity>
-
releaseRemovedEntities:function
- releaseRemovedEntities(): Entity[]
-
-
removeEntity:function
- removeEntity(entity: Entity): boolean
-
Returns boolean
-
updateRemovedEntity:function
- updateRemovedEntity(entity: Entity): boolean
-
Returns boolean
-
updateUsedEntity:function
- updateUsedEntity(entity: Entity): boolean
-
Returns boolean