Package name.moore.kevin.ze.entities
Class shipEF
java.lang.Object
name.moore.kevin.ze.entities.baseEF
name.moore.kevin.ze.entities.shipEF
A ship consists of components:
Name- unique keydescriptionspecification=shipSpecinorbitorcoordinatesparts- List of EntityId of installed equipmentdistribution
- Author:
- Kevin Moore
<dev@kevin.moore.name>
-
Field Summary
FieldsFields inherited from class name.moore.kevin.ze.entities.baseEF
ABSORB_SCALER, DAMAGE_SCALER, FRAGILE_SCALER, hasher -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvide a list of components created by this processor when creating an entity.toComponents(com.simsilica.es.EntityId seid)Provide the components of an entity based on a specification.toComponents(T cast)Use the parsed XML object to create the components of an entity.Methods inherited from class name.moore.kevin.ze.entities.baseEF
findbyName, findbyName, findEntities, from, fromXML, getComponent, getTarget, makeSerial, setTarget, toComponents
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
shipEF
public shipEF()
-
-
Method Details
-
diagnostic
Provide a list of components created by this processor when creating an entity.- Overrides:
diagnosticin classbaseEF- Returns:
-
toComponents
Use the parsed XML object to create the components of an entity.- Overrides:
toComponentsin classbaseEF- Returns:
-
toComponents
public <T extends XMLbase> List<com.simsilica.es.EntityComponent> toComponents(com.simsilica.es.EntityId seid)Provide the components of an entity based on a specification. Component values will be defaulted. Public because the construct verb uses it.- Overrides:
toComponentsin classbaseEF- Parameters:
seid- entityid of the specification to base the components on.- Returns:
- See Also:
construct.build(com.simsilica.es.EntityId)
-