Class construct

java.lang.Object
name.moore.kevin.ze.game.verbs.construct

public class construct extends Object
Create a new entity in the repository and make delivery.

An installation of one part into another: new construct().setBuilt(installinto).install(builtEntity);

Author:
Kevin Moore <dev@kevin.moore.name>
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • builder

      private com.simsilica.es.EntityId builder
    • built

      private com.simsilica.es.EntityId built
    • spec

      private com.simsilica.es.EntityId spec
  • Constructor Details

    • construct

      public construct()
  • Method Details

    • setBuilder

      public construct setBuilder(com.simsilica.es.EntityId builderid)
    • build

      public construct build(com.simsilica.es.EntityId specid)
    • setBuilt

      public construct setBuilt(com.simsilica.es.EntityId built)
    • getBuilt

      public com.simsilica.es.EntityId getBuilt()
    • install

      public construct install(com.simsilica.es.EntityId tobeadded)
      Add the specified equipment to the 'parts' component. Delivery and warehousing isn't needed - but need a built item either by setBuilt() or build()
      Parameters:
      tobeadded - part to be installed.
      Returns:
    • deliver

      public construct deliver(com.simsilica.es.EntityId planeteid, manufacture.DELIVER deliver)