Package name.moore.kevin.ze.components


package name.moore.kevin.ze.components
The components package contains the components of the entity-component-system implemented using the zay-es plugin for JMonkeyEngine.

Each component is a bundle of data that can be associated with an entity. Processing of entities and their associated components is then done by the 'systems' - in this case implemented in the various JME application states.

Author:
Kevin Moore <dev@kevin.moore.name>
See Also:
name.moore.kevin.ze.game.states, Entity System Introduction
  • Interface Summary
    Interface
    Description
    Apply this interface to any component that contains a reference to another EntityId.
  • Class Summary
    Class
    Description
    A component that can stores up energy upto a predefined limit.
    Added to specification entities, this component indicates what the spec entity is meant to build to eg a planetSpec has an appliesto = planet.class, an engineSpec has appliesto = engine.class
    Added to specification entities, this component indicates that it builds things ie it is a shipyard or industry.
    Component that stores a strategic map xy coordinate as a Vector (for ease of later use).
    An entity component that represents a meaningful description for the entity eg "homeworld of humans".
    The destination component is attached to entities that are travelling towards other entities.
    A component that holds information relating to display and visual aspects of an entity.
    A component that specifies the power distribution eg from an engine to multiple ship components such as the hull and weapons.
    A component that tracks the health of an entity.
    This component is used for entities that don't have their own coordinates but are in orbit of another entity eg a planet around a sun.
    The location component is attached to entities that have a fixed position relative to another entity eg an industry on a planet.
    Component that has data required for manufacturing an entity.
    Entities that can be owned has this component which references a faction.
    A component that can Lists the equipment installed on a ship.
    A component that holds static physical properties such as size or mass.
    A component that captures the socio-political aspects for a faction such as their wealth, attitude to other factions.
    An entity with this component has a specification available and this component points to it.
  • Enum Summary
    Enum
    Description
    Set by processor and used by manufacturingState to allocate builds to the appropriate buildQueue.
    Set by entityConverter, used by manufacturingState to determine how completed builds are delivered.