A C D E G H I N R S U 
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
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
 
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
 
entityHasComponent(Entity, Type) - Method in class nz.ac.massey.javaecs.Engine
Checks if the entity is subscribed to the provided type
entityManager - Variable in class nz.ac.massey.javaecs.Engine
 
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
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.Engine
Gets the component index of the provided type
getComponentManager() - Method in class nz.ac.massey.javaecs.Engine
Gets a the current component manager
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
getNumEntities() - Method in class nz.ac.massey.javaecs.Engine
Gets the current number of entities
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

init() - Method in class nz.ac.massey.javaecs.ECSSystem
Functionality that should be run only once.

N

nz.ac.massey.javaecs - package nz.ac.massey.javaecs
 

R

registerComponent(Type) - Method in class nz.ac.massey.javaecs.Engine
Registers the specified name in the component manager
registerSystem(Type, ECSSystem) - Method in class nz.ac.massey.javaecs.Engine
Registers the system to the SystemManager
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
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
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
 

U

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.
A C D E G H I N R S U 
All Classes All Packages