Class shipSpecEF

java.lang.Object
name.moore.kevin.ze.entities.baseEF
name.moore.kevin.ze.entities.test2.shipSpecEF

public class shipSpecEF extends baseEF
A shipSpec consists of components:
Author:
Kevin Moore <dev@kevin.moore.name>
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
  • Constructor Details

    • shipSpecEF

      public shipSpecEF()
  • Method Details

    • toComponents

      public <T extends XMLbase> List<com.simsilica.es.EntityComponent> toComponents()
      Used by factories to produce hardcoded test fixtures - so we dont need to specify any specs. A shipSpec has a container listing the specs of the various installed equipment. By convention, the first entry [0] is the hullSpec. The XML specifies the equipment as Strings, these need converting into real spec entities
      Overrides:
      toComponents in class baseEF
      Returns: