Interface CompositeEntityFactory
-
- All Known Implementing Classes:
AiCompositeEntityFactory
,AiControlBanditCompositeEntityFactory
,AiControlCompositeEntityFactory
,AiControlTransporterCompositeEntityFactory
,AiDestinationCompositeEntityFactory
,AiRandomCompositeEntityFactory
,AiWaypointCompositeEntityFactory
,AsteroidCompositeEntityFactory
,AsteroidFieldCompositeEntityFactory
,AsteroidScenarioCompositeEntityFactory
,DarkMatterCompositeEntityFactory
,ImageSurfaceCompositeEntityFactory
,MarkerCompositeEntityFactory
,ScriptingCompositeEntityFactory
,SpacecraftSpawnPointCompositeEntityFactory
public interface CompositeEntityFactory
This is the contract for all composite entity factories. Composite entity factories are used to create composite entities in scene editor. Each composite entity factory is also displaying a button in the tools selection window there.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CompositeEntityFactory.CompositeEntityFactoryEnumParameterDef
static class
CompositeEntityFactory.CompositeEntityFactoryParameterDef
static class
CompositeEntityFactory.CompositeEntityFactoryScriptParameterDef
static class
CompositeEntityFactory.CompositeEntityFactoryShipParameterDef
static class
CompositeEntityFactory.CompositeEntityFactoryStringParameterDef
-
Method Summary
All Methods Instance Methods Abstract 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
String getDisplayName()
-
getThumbnailResource
ModAndResourceName getThumbnailResource()
-
getParameterDef
Map<String,CompositeEntityFactory.CompositeEntityFactoryParameterDef> getParameterDef()
-
getEditParameters
Map<String,String> getEditParameters(AbstractCompositeEntity compositeEntity)
-
edit
void edit(AbstractCompositeEntity compositeEntity, Map<String,String> parameters)
-
-