Uses of Class
nz.ac.massey.javaecs.Entity
-
-
Uses of Entity in nz.ac.massey.javaecs
Fields in nz.ac.massey.javaecs with type parameters of type Entity Modifier and Type Field Description protected Set<Entity>
ECSSystem. entities
Methods in nz.ac.massey.javaecs that return Entity Modifier and Type Method Description static Entity
Entity. asEntity(int value)
Returns the int value wrapped as an entity.Entity
Engine. createEntity()
Create a new Entity (dequeues the first element from unusedEntities)Methods in nz.ac.massey.javaecs with parameters of type Entity Modifier and Type Method Description boolean
Engine. addComponent(Entity entity, Type componentType, Object component)
Adds an exisiting component to an exisiting entityvoid
Engine. destroyEntity(Entity entity)
Signals each manager to remove the specified entityboolean
Engine. entityHasComponent(Entity entity, Type componentType)
Checks if the entity is subscribed to the provided typeObject
Engine. getComponentData(Entity entity, Type componentType)
Gets the actual data of the component associated to the entity.boolean
Engine. removeComponent(Entity entity, Type componentType)
Removes the component from the specified entity
-