Package | Description |
---|---|
com.lhkbob.entreri | |
com.lhkbob.entreri.property |
Modifier and Type | Method and Description |
---|---|
<T extends Component,P extends Property> |
EntitySystem.decorate(Class<T> type,
PropertyFactory<P> factory)
Dynamically update the available properties of the given Component type by adding a
Property created by the given PropertyFactory.
|
Modifier and Type | Interface and Description |
---|---|
interface |
PropertyFactory<T extends Property>
A PropertyFactory is a simple factory that can be used to create Property instances.
|
Modifier and Type | Interface and Description |
---|---|
interface |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
BooleanProperty
BooleanProperty is an implementation of Property that stores a single boolean
property.
|
class |
ByteProperty
ByteProperty is an implementation of Property that stores a single byte value.
|
class |
CharProperty
CharProperty is an implementation of Property that stores a single char value.
|
class |
DoubleProperty
DoubleProperty is an implementation of Property that stores a single double value.
|
class |
FloatProperty
FloatProperty is an implementation of Property that stores a single float value.
|
class |
IntProperty
IntProperty is an implementation of Property that stores a single int value.
|
class |
LongProperty
LongProperty is an implementation of Property that stores a single long value.
|
class |
ObjectProperty
ObjectProperty is an implementation of Property that stores the property data as a
number of packed Object references for each property.
|
class |
ShortProperty
ShortProperty is an implementation of Property that stores a single short value.
|
Copyright © 2013. All Rights Reserved.