Interface | Description |
---|---|
Property |
Property represents a generic field or property of a Component definition.
|
PropertyFactory<T extends Property> |
A PropertyFactory is a simple factory that can be used to create Property instances.
|
ShareableProperty<T> |
ShareableProperty designates a special type of property that can mutate a shared
instance to a specific component's value, instead of returning internal references.
|
Class | Description |
---|---|
Attributes |
Attributes represents the collection of attributes that have been provided on a
property declaration within a ComponentData definition.
|
BooleanProperty |
BooleanProperty is an implementation of Property that stores a single boolean
property.
|
BooleanProperty.Factory |
Factory to create BooleanProperties.
|
ByteProperty |
ByteProperty is an implementation of Property that stores a single byte value.
|
ByteProperty.Factory |
Factory to create ByteProperties.
|
CharProperty |
CharProperty is an implementation of Property that stores a single char value.
|
CharProperty.Factory |
Factory to create CharProperties.
|
DoubleProperty |
DoubleProperty is an implementation of Property that stores a single double value.
|
DoubleProperty.Factory |
Factory to create DoubleProperties.
|
FloatProperty |
FloatProperty is an implementation of Property that stores a single float value.
|
FloatProperty.Factory |
Factory to create FloatProperties.
|
IntProperty |
IntProperty is an implementation of Property that stores a single int value.
|
IntProperty.Factory |
Factory to create IntProperties.
|
LongProperty |
LongProperty is an implementation of Property that stores a single long value.
|
LongProperty.Factory |
Factory to create LongProperties.
|
ObjectProperty |
ObjectProperty is an implementation of Property that stores the property data as a
number of packed Object references for each property.
|
ObjectProperty.Factory |
Factory to create ObjectProperties.
|
ShortProperty |
ShortProperty is an implementation of Property that stores a single short value.
|
ShortProperty.Factory |
Factory to create ShortProperties.
|
Enum | Description |
---|---|
Clone.Policy |
Policy is an enum describing a number of different behaviors performed by a
PropertyFactory when its PropertyFactory.clone(Property, int, Property,
int) method is invoked in response to Entity.add(com.lhkbob.entreri.Component)
or EntitySystem.addEntity(Entity) . |
Annotation Type | Description |
---|---|
Attribute |
Attribute is used to declare that other annotation types are 'attributes' of a Property
declaration in a ComponentData type definition.
|
BooleanProperty.DefaultBoolean |
Default boolean attribute for properties.
|
ByteProperty.DefaultByte |
Default byte attribute for properties.
|
CharProperty.DefaultChar |
Default char attribute for properties.
|
Clone |
Clone is an attribute that can be applied to property declarations to change how the
property's values are cloned when a Component or Entity are created from a template
Component or Entity.
|
DoubleProperty.DefaultDouble |
Default double attribute for properties.
|
Factory |
The Factory annotation can be placed on a Property implementation or the getter method
in a Component definition to specify the type of PropertyFactory to use when creating
instances of the Property for the component.
|
FloatProperty.DefaultFloat |
Default float attribute for properties.
|
IntProperty.DefaultInt |
Default int attribute for properties.
|
LongProperty.DefaultLong |
Default long attribute for properties.
|
Named |
Annotation applied to getters, setters, and setter parameters in a Component definition
to specify an exact property name instead of using Java naming conventions to infer it
from the getter or setter.
|
SharedInstance |
SharedInstance is used to annotate Component getters when the Component instance
returns the same object regardless of how the component's identity changes.
|
ShortProperty.DefaultShort |
Default short attribute for properties.
|
Copyright © 2013. All Rights Reserved.