Package name.moore.kevin.ze.game.verbs
Class construct
java.lang.Object
name.moore.kevin.ze.game.verbs.construct
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(com.simsilica.es.EntityId specid)deliver(com.simsilica.es.EntityId planeteid, manufacture.DELIVER deliver)com.simsilica.es.EntityIdgetBuilt()install(com.simsilica.es.EntityId tobeadded)Add the specified equipment to the 'parts' component.setBuilder(com.simsilica.es.EntityId builderid)setBuilt(com.simsilica.es.EntityId built)
-
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
-
build
-
setBuilt
-
getBuilt
public com.simsilica.es.EntityId getBuilt() -
install
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
-