Class AiCompositeEntityFactory
- java.lang.Object
-
- de.extio.spacecraft.shared.model.entity.builtin.composite.factory.AiCompositeEntityFactory
-
- All Implemented Interfaces:
CompositeEntityFactory
public final class AiCompositeEntityFactory extends Object implements CompositeEntityFactory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.extio.spacecraft.shared.model.entity.CompositeEntityFactory
CompositeEntityFactory.CompositeEntityFactoryEnumParameterDef, CompositeEntityFactory.CompositeEntityFactoryParameterDef, CompositeEntityFactory.CompositeEntityFactoryScriptParameterDef, CompositeEntityFactory.CompositeEntityFactoryShipParameterDef, CompositeEntityFactory.CompositeEntityFactoryStringParameterDef
-
-
Constructor Summary
Constructors Constructor Description AiCompositeEntityFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AbstractCompositeEntity>
create(CoordI2 worldPos, Map<String,String> parameters)
void
edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
String
getDisplayName()
Map<String,String>
getEditParameters(AbstractCompositeEntity compositeEntity)
Map<String,CompositeEntityFactory.CompositeEntityFactoryParameterDef>
getParameterDef()
ModAndResourceName
getThumbnailResource()
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceCompositeEntityFactory
-
getThumbnailResource
public ModAndResourceName getThumbnailResource()
- Specified by:
getThumbnailResource
in interfaceCompositeEntityFactory
-
getParameterDef
public Map<String,CompositeEntityFactory.CompositeEntityFactoryParameterDef> getParameterDef()
- Specified by:
getParameterDef
in interfaceCompositeEntityFactory
-
getEditParameters
public Map<String,String> getEditParameters(AbstractCompositeEntity compositeEntity)
- Specified by:
getEditParameters
in interfaceCompositeEntityFactory
-
edit
public void edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
- Specified by:
edit
in interfaceCompositeEntityFactory
-
create
public List<AbstractCompositeEntity> create(CoordI2 worldPos, Map<String,String> parameters)
- Specified by:
create
in interfaceCompositeEntityFactory
-
-