Package name.moore.kevin.ze.entities
Class starEF
java.lang.Object
name.moore.kevin.ze.entities.baseEF
name.moore.kevin.ze.entities.starEF
A star consists of components:
Name- unique keydescriptionspecificationcoordinatesowner- optional
The owner component is optional (since a star may legitimately not be owned by any faction) and is added separately when loading a game.
- Author:
- Kevin Moore
<dev@kevin.moore.name>
-
Field Summary
Fields 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(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, toComponents
-
Constructor Details
-
starEF
public starEF()
-
-
Method Details
-
diagnostic
Description copied from class:baseEFProvide 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:
- See Also:
loadandsaveState.loadGame(java.io.File, java.io.File)
-