Class planetEF

java.lang.Object
name.moore.kevin.ze.entities.baseEF
name.moore.kevin.ze.entities.test1.planetEF

public class planetEF extends baseEF
A planet consists of components:
Author:
Kevin Moore <dev@kevin.moore.name>
  • Constructor Details

    • planetEF

      public planetEF()
  • 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.. If we can set this Earth inorbit of Sol we do so, but if the star can't be found then it's inorbit of NULL_ID and any required orbit needs manually adding.
      Overrides:
      toComponents in class baseEF
      Returns: