A C D E G H I M N R S U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addComponent(Type, Object) - Method in class nz.ac.massey.javaecs.Entity
-
Deprecated.This function is not ECS-like. It is provided as an auxilliary method, that will be more intuitive to those familiar with OO design
- addComponent(Entity, Type, Object) - Method in class nz.ac.massey.javaecs.Engine
-
Adds an exisiting component to an exisiting entity
- addComponentToEntity(Type, Object, Entity) - Method in class nz.ac.massey.javaecs.ComponentManager
-
Adds the specified component to the provided entity.
- addEntity() - Method in class nz.ac.massey.javaecs.EntityManager
-
Creates a new entity
- asEntity(int) - Static method in class nz.ac.massey.javaecs.Entity
-
Returns the int value wrapped as an entity.
C
- componentManager - Variable in class nz.ac.massey.javaecs.Engine
- ComponentManager - Class in nz.ac.massey.javaecs
-
Manages the addition, sorting and retrieving of components and component data
- ComponentManager() - Constructor for class nz.ac.massey.javaecs.ComponentManager
- createEntity() - Method in class nz.ac.massey.javaecs.Engine
-
Create a new Entity (dequeues the first element from unusedEntities)
D
- destroyEntity(Entity) - Method in class nz.ac.massey.javaecs.Engine
-
Signals each manager to remove the specified entity
E
- ECSSystem - Class in nz.ac.massey.javaecs
-
Abstract class that all systems should inherit from
- ECSSystem() - Constructor for class nz.ac.massey.javaecs.ECSSystem
- Engine - Class in nz.ac.massey.javaecs
-
The ECS management engine.
- Engine() - Constructor for class nz.ac.massey.javaecs.Engine
-
Engine Constructors **
- Engine(int) - Constructor for class nz.ac.massey.javaecs.Engine
-
Initialises the ECS with the specified value
- engineRef - Static variable in class nz.ac.massey.javaecs.Entity
- entities - Variable in class nz.ac.massey.javaecs.ECSSystem
- Entity - Class in nz.ac.massey.javaecs
-
Entity class.
- Entity(int) - Constructor for class nz.ac.massey.javaecs.Entity
- entityDestroyed(Entity) - Method in class nz.ac.massey.javaecs.SystemManager
-
Signals the SystemManager that an entity was destroyed.
- entityDestroyed(Entity, BitSet) - Method in class nz.ac.massey.javaecs.ComponentManager
-
Signals to the ComponentManager the entity was destroyed.
- entityHasComponent(Entity, Type) - Method in class nz.ac.massey.javaecs.Engine
-
Checks if the entity is subscribed to the provided type
- entityHasComponentData(Entity, Type) - Method in class nz.ac.massey.javaecs.ComponentManager
-
Checks if the entity contains data for the provided component
- entityManager - Variable in class nz.ac.massey.javaecs.Engine
- EntityManager - Class in nz.ac.massey.javaecs
-
Manages data from the perspective of the entity.
- EntityManager() - Constructor for class nz.ac.massey.javaecs.EntityManager
-
Initialise the EntityManager with the default max size of 1024
- EntityManager(int) - Constructor for class nz.ac.massey.javaecs.EntityManager
-
Initialise the EntityManager with the provided maximum size
- entityRegistrationsChanged(Entity, BitSet) - Method in class nz.ac.massey.javaecs.SystemManager
-
Signals the SystemManager that an entity had its registrations changed, so evaluate if the entity is still relevant to each system.
- equals(Object) - Method in class nz.ac.massey.javaecs.Entity
- errorStream - Static variable in class nz.ac.massey.javaecs.Engine
G
- getComponent(Type) - Method in class nz.ac.massey.javaecs.Entity
-
Deprecated.This function is not ECS-like. It is provided as an auxilliary method, that will be more intuitive to those familiar with OO design
- getComponent(Type, Entity) - Method in class nz.ac.massey.javaecs.ComponentManager
-
Gets the component data associated with the entity
- getComponentData(Entity, Type) - Method in class nz.ac.massey.javaecs.Engine
-
Gets the actual data of the component associated to the entity.
- getComponentIndex(Type) - Method in class nz.ac.massey.javaecs.ComponentManager
-
Gets the registration index of the component type
- getComponentIndex(Type) - Method in class nz.ac.massey.javaecs.Engine
-
Gets the component index of the provided type
- getComponentManager() - Method in class nz.ac.massey.javaecs.Engine
-
Gets a the current component manager
- getComponentType(Integer) - Method in class nz.ac.massey.javaecs.ComponentManager
-
Gets the type of the component at the provided index
- getEntityManager() - Method in class nz.ac.massey.javaecs.Engine
-
Gets a the current enitity manager
- getErr() - Static method in class nz.ac.massey.javaecs.Engine
-
Gets the current error PrintStream
- getMaxEntities() - Method in class nz.ac.massey.javaecs.Engine
-
Gets the set maximum number of entities
- getMaxSize() - Method in class nz.ac.massey.javaecs.EntityManager
-
Gets the current maximum size
- getNumEntities() - Method in class nz.ac.massey.javaecs.Engine
-
Gets the current number of entities
- getNumEntities() - Method in class nz.ac.massey.javaecs.EntityManager
- getRegistrations(Entity) - Method in class nz.ac.massey.javaecs.EntityManager
-
Gets the BitSet containing the registrations of the entity.
- getRegistrationSet() - Method in class nz.ac.massey.javaecs.ECSSystem
- getSystemManager() - Method in class nz.ac.massey.javaecs.Engine
-
Gets a the current systems manager
- getValue() - Method in class nz.ac.massey.javaecs.Entity
H
- hashCode() - Method in class nz.ac.massey.javaecs.Entity
I
M
- moveAllComponentData(Entity, Entity, BitSet) - Method in class nz.ac.massey.javaecs.ComponentManager
-
Moves all component data from one entity to another
- moveComponentData(Entity, Entity, Type) - Method in class nz.ac.massey.javaecs.ComponentManager
-
Moves a single component data from one entity to another
N
- nz.ac.massey.javaecs - package nz.ac.massey.javaecs
R
- registerComponent(int, Entity) - Method in class nz.ac.massey.javaecs.EntityManager
-
Registers the specified component index to the entity
- registerComponent(Type) - Method in class nz.ac.massey.javaecs.ComponentManager
-
Registers the component type
- registerComponent(Type) - Method in class nz.ac.massey.javaecs.Engine
-
Registers the specified name in the component manager
- registerComponent(Type, int) - Method in class nz.ac.massey.javaecs.ComponentManager
-
Registers the component type
- registerSystem(Type, ECSSystem) - Method in class nz.ac.massey.javaecs.Engine
-
Registers the system to the SystemManager
- registerSystem(Type, ECSSystem) - Method in class nz.ac.massey.javaecs.SystemManager
-
Registers the specified system name and system reference
- registrationSet - Variable in class nz.ac.massey.javaecs.ECSSystem
- removeComponent(Type) - Method in class nz.ac.massey.javaecs.Entity
-
Deprecated.This function is not ECS-like. It is provided as an auxilliary method, that will be more intuitive to those familiar with OO design
- removeComponent(Entity, Type) - Method in class nz.ac.massey.javaecs.Engine
-
Removes the component from the specified entity
- removeComponentFromEntity(Type, Entity) - Method in class nz.ac.massey.javaecs.ComponentManager
-
Removes the specified component from the entity.
- removeEntity(Entity) - Method in class nz.ac.massey.javaecs.EntityManager
-
Adds the entity index back into unusedEntities, and sets the registrations to null
- resize(int, SystemManager, ComponentManager) - Method in class nz.ac.massey.javaecs.EntityManager
-
Resizes the currentSize of the entity manager.
- resizeMaximum(int) - Method in class nz.ac.massey.javaecs.Engine
-
Attempts to resize the maximum number of entities
S
- setErr(PrintStream) - Static method in class nz.ac.massey.javaecs.Engine
-
Sets the error PrintStream to the provided PrintStream
- setRegistrations(Entity, BitSet) - Method in class nz.ac.massey.javaecs.EntityManager
-
Sets the entity's registrations to the provided BitSet
- setSystemRegistraions(Type, BitSet) - Method in class nz.ac.massey.javaecs.SystemManager
-
Sets the registrations the system requires
- setSystemSignature(Type, BitSet) - Method in class nz.ac.massey.javaecs.Engine
-
Sets the specified system's signature to the provided signature
- systemManager - Variable in class nz.ac.massey.javaecs.Engine
- SystemManager - Class in nz.ac.massey.javaecs
-
Manages system-focused aspects, such as ensuring a system has the correct list of current entities.
- SystemManager() - Constructor for class nz.ac.massey.javaecs.SystemManager
U
- unregisterComponent(int, Entity) - Method in class nz.ac.massey.javaecs.EntityManager
-
Unregisters the specified component from the entity
- update(double) - Method in class nz.ac.massey.javaecs.ECSSystem
-
Functionality that is expected to be called regularly Intended as a template only; may be superficially implemented.
All Classes All Packages