A C D E G I N O P R S T U Y 

A

activate() - Method in class com.blurryroots.yanecos.core.Data
Activates the component.
activate() - Method in class com.blurryroots.yanecos.core.DataProcessor
Activates this processor.
addData(T) - Method in interface com.blurryroots.yanecos.core.IEntity
Adds the given data to an entity.
addProcessor(T) - Method in class com.blurryroots.yanecos.core.DataCenter
Adds a new Processor to the database

C

clone() - Method in class com.blurryroots.yanecos.core.Data
Returns a clone (deep copy) of the data.
com.blurryroots.yanecos.core - package com.blurryroots.yanecos.core
 
com.blurryroots.yanecos.exception - package com.blurryroots.yanecos.exception
 
createEmptyDataCore() - Static method in class com.blurryroots.yanecos.core.DataCore
Creates and returns an empty DataCore.
createEntity(String) - Method in class com.blurryroots.yanecos.core.DataCenter
Creates a new entity stores it into the database and returns it
createEntityId(String) - Method in class com.blurryroots.yanecos.core.DataCenter
Creates a new entity stores it into the database and returns the id

D

Data - Class in com.blurryroots.yanecos.core
Base Class for every Data added to an entity.
Data() - Constructor for class com.blurryroots.yanecos.core.Data
Standard constructor.
DataCenter - Class in com.blurryroots.yanecos.core
Combines the data, managing of processors and entities and keep track of the delta time, for accurate updating.
DataCenter() - Constructor for class com.blurryroots.yanecos.core.DataCenter
Creates a new world.
DataCore - Class in com.blurryroots.yanecos.core
Houses all the data related to entities, data and processors
DataCore() - Constructor for class com.blurryroots.yanecos.core.DataCore
 
DataProcessor - Class in com.blurryroots.yanecos.core
Base class for every processor considered to perform any action on a component from an entity.
DataProcessor() - Constructor for class com.blurryroots.yanecos.core.DataProcessor
Creates a new processor.
deactivate() - Method in class com.blurryroots.yanecos.core.Data
Deactivates the component.
deactivate() - Method in class com.blurryroots.yanecos.core.DataProcessor
Deactivates this processor.

E

EntityAlreadHasDataException - Exception in com.blurryroots.yanecos.exception
???
EntityAlreadHasDataException(Class<? extends Data>, long) - Constructor for exception com.blurryroots.yanecos.exception.EntityAlreadHasDataException
???
EntityDataException - Exception in com.blurryroots.yanecos.exception
Base class for exceptions with information about the entity and the data causing the exception.
EntityDataException(String, Class<? extends Data>, long) - Constructor for exception com.blurryroots.yanecos.exception.EntityDataException
Builds an EntityDataException.
EntityException - Exception in com.blurryroots.yanecos.exception
???
EntityException(String, long) - Constructor for exception com.blurryroots.yanecos.exception.EntityException
???
EntityException(Throwable, long) - Constructor for exception com.blurryroots.yanecos.exception.EntityException
???
EntityException(String, Throwable, long) - Constructor for exception com.blurryroots.yanecos.exception.EntityException
???

G

getAllData() - Method in interface com.blurryroots.yanecos.core.IEntity
Return a list containing all data attached to the entity.
getClassType_Id_Table() - Method in class com.blurryroots.yanecos.core.DataCore
 
getData(Class<T>) - Method in interface com.blurryroots.yanecos.core.IEntity
Returns the given data of an entity.
getData_Entity_Table() - Method in class com.blurryroots.yanecos.core.DataCore
 
getData_InterestedProcessor_Table() - Method in class com.blurryroots.yanecos.core.DataCore
 
getDataCenter() - Method in class com.blurryroots.yanecos.core.DataProcessor
Returns the world on which this system is attached to.
getDataCore() - Method in class com.blurryroots.yanecos.core.DataCenter
 
getDataProcessorIdCounter() - Method in class com.blurryroots.yanecos.core.DataCore
 
getDataType() - Method in exception com.blurryroots.yanecos.exception.EntityDataException
Getter
getDeltaT() - Method in class com.blurryroots.yanecos.core.DataCenter
 
getEntitiesWithData(Class<? extends Data>, Class<? extends Data>...) - Method in class com.blurryroots.yanecos.core.DataCenter
Returns a list of entities featuring a given set of data
getEntitiesWithData(List<Class<? extends Data>>) - Method in class com.blurryroots.yanecos.core.DataCenter
Returns a list of entities featuring a given set of data
getEntity(long) - Method in class com.blurryroots.yanecos.core.DataCenter
Returns an entity
getEntity_Data_Table() - Method in class com.blurryroots.yanecos.core.DataCore
 
getEntityByName(String) - Method in class com.blurryroots.yanecos.core.DataCenter
Returns an entity
getEntityCount() - Method in class com.blurryroots.yanecos.core.DataCenter
Returns the current number of entities stored in the database
getEntityCounter() - Method in class com.blurryroots.yanecos.core.DataCore
 
getEntityId() - Method in exception com.blurryroots.yanecos.exception.EntityDataException
Getter
getEntityId() - Method in exception com.blurryroots.yanecos.exception.EntityException
 
getEntityId_setStatus_Table() - Method in class com.blurryroots.yanecos.core.DataCore
 
getEntityIdByName(String) - Method in class com.blurryroots.yanecos.core.DataCenter
Returns the id of an entity
getEntityIdCounter() - Method in class com.blurryroots.yanecos.core.DataCore
 
getEntityNameTable() - Method in class com.blurryroots.yanecos.core.DataCore
 
getId() - Method in interface com.blurryroots.yanecos.core.IEntity
The id of an entity.
getId_ClassType_Table() - Method in class com.blurryroots.yanecos.core.DataCore
 
getId_Processor_Table() - Method in class com.blurryroots.yanecos.core.DataCore
 
getInterestedEntities() - Method in class com.blurryroots.yanecos.core.DataProcessor
Returns a list of entities, this processor is interested in.
getInterestedEntityIds() - Method in class com.blurryroots.yanecos.core.DataProcessor
Returns a list of entity ids, this processor is interested in.
getName() - Method in interface com.blurryroots.yanecos.core.IEntity
The name of an entity.
getNameEntityTable() - Method in class com.blurryroots.yanecos.core.DataCore
 
getProcessId_interestedEntity_Table() - Method in class com.blurryroots.yanecos.core.DataCore
 
getProcessor(Class<T>) - Method in class com.blurryroots.yanecos.core.DataCenter
Returns the processor of the given type
getSetStatus_entityId_Table() - Method in class com.blurryroots.yanecos.core.DataCore
 

I

IEntity - Interface in com.blurryroots.yanecos.core
An interface to use an entity as a 'whole'.
initialize() - Method in class com.blurryroots.yanecos.core.DataCore
 
InterestListDataProcessor - Class in com.blurryroots.yanecos.core
Convenience implementation to use the interest system.
InterestListDataProcessor(Class<? extends Data>...) - Constructor for class com.blurryroots.yanecos.core.InterestListDataProcessor
Constructs a InterestListDataProcessor
isActive() - Method in class com.blurryroots.yanecos.core.Data
Returns true if active, false if not.
isActive() - Method in class com.blurryroots.yanecos.core.DataProcessor
Check if this processor is active.

N

NoSuchDataException - Exception in com.blurryroots.yanecos.exception
???
NoSuchDataException(Class<? extends Data>, long) - Constructor for exception com.blurryroots.yanecos.exception.NoSuchDataException
???
NoSuchDataOnEntityException - Exception in com.blurryroots.yanecos.exception
???
NoSuchDataOnEntityException(Class<? extends Data>, long) - Constructor for exception com.blurryroots.yanecos.exception.NoSuchDataOnEntityException
???
NoSuchEntityException - Exception in com.blurryroots.yanecos.exception
???
NoSuchEntityException(long) - Constructor for exception com.blurryroots.yanecos.exception.NoSuchEntityException
???

O

onInitialize() - Method in class com.blurryroots.yanecos.core.DataProcessor
Houses all the initializations for the processor, such as registering interest in a specific group of entities.
onInitialize() - Method in class com.blurryroots.yanecos.core.InterestListDataProcessor
Initialize this processor.
onProcessing() - Method in class com.blurryroots.yanecos.core.DataProcessor
Processes the processor's logic.
onProcessing() - Method in class com.blurryroots.yanecos.core.InterestListDataProcessor
 
onProcessingIntrestList(List<IEntity>) - Method in class com.blurryroots.yanecos.core.InterestListDataProcessor
Process all entities holding data this processor is interested in.

P

process() - Method in class com.blurryroots.yanecos.core.DataProcessor
Processes all the things this processor is ought to process.

R

registerInterestIn(Class<? extends Data>...) - Method in class com.blurryroots.yanecos.core.DataProcessor
Tells the DataCenter, which entites this processor is interested in.
removeData(Class<T>) - Method in interface com.blurryroots.yanecos.core.IEntity
Removes the data of given type from an entity.
removeEntity(long) - Method in class com.blurryroots.yanecos.core.DataCenter
Removes an entity from the database
removeProcessor(Class<T>) - Method in class com.blurryroots.yanecos.core.DataCenter
Removes a processor from the database

S

setDataCore(DataCore) - Method in class com.blurryroots.yanecos.core.DataCenter
 
setDataProcessorIdCounter(Long) - Method in class com.blurryroots.yanecos.core.DataCore
 
setEntityCounter(long) - Method in class com.blurryroots.yanecos.core.DataCore
 
setEntityIdCounter(Long) - Method in class com.blurryroots.yanecos.core.DataCore
 

T

toggelActiveness() - Method in class com.blurryroots.yanecos.core.DataProcessor
Toggles the activeness of this processor.
toggleActive() - Method in class com.blurryroots.yanecos.core.Data
Toggles the status of the component.

U

update() - Method in interface com.blurryroots.yanecos.core.IEntity
Propagate all changes made to this entity.
updateDelta(double) - Method in class com.blurryroots.yanecos.core.DataCenter
Updates the time difference of the last update

Y

YanecosException - Exception in com.blurryroots.yanecos.exception
???
YanecosException(String) - Constructor for exception com.blurryroots.yanecos.exception.YanecosException
???
YanecosException(Throwable) - Constructor for exception com.blurryroots.yanecos.exception.YanecosException
???
YanecosException(String, Throwable) - Constructor for exception com.blurryroots.yanecos.exception.YanecosException
???
A C D E G I N O P R S T U Y