public class EntityState
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.HashMap<java.lang.String,java.lang.Object> |
attributes
The attributes.
|
double |
instant
The instant.
|
| Constructor and Description |
|---|
EntityState()
Instantiates a new entity state.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getEntityStateAttribute(java.lang.String attributeName)
Gets the entity state attribute.
|
double |
getInstant()
Gets the instant.
|
boolean |
updateEntityStateAttribute(java.lang.String entityName,
java.lang.String variable,
java.lang.Object value)
Updates a variable from an entity's state.
|
public double instant
protected java.util.HashMap<java.lang.String,java.lang.Object> attributes
public double getInstant()
public java.lang.Object getEntityStateAttribute(java.lang.String attributeName)
attributeName - the attribute namepublic boolean updateEntityStateAttribute(java.lang.String entityName,
java.lang.String variable,
java.lang.Object value)
entityName - the entity namevariable - the variablevalue - the value