Package cmion.addOns.manipulators
Class WorldModelManipulator
- java.lang.Object
-
- ion.Meta.Element
-
- cmion.architecture.CmionComponent
-
- cmion.addOns.manipulators.WorldModelManipulator
-
public class WorldModelManipulator extends cmion.architecture.CmionComponentthis class can be used to directly manipulate and change the world model
-
-
Constructor Summary
Constructors Constructor Description WorldModelManipulator(cmion.architecture.IArchitecture architecture)create a new simulator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEntity(cmion.storage.CmionStorageContainer entityContainer)add an entity (Agent or Object) to the world modelvoidregisterHandlers()voidremoveEntity(java.lang.String entityName)remove an entity (Agent or Object) from the world modelvoidremoveProperty(java.lang.String propertyName, cmion.storage.CmionStorageContainer entityContainer)removes a property (Agent or Object) from the world modelvoidsetProperty(java.lang.String propertyName, java.lang.String propertyValue, boolean persistent, cmion.storage.CmionStorageContainer parentContainer)sets a property (Agent or Object) from the world model-
Methods inherited from class cmion.architecture.CmionComponent
getArchitecture, isConnected, onDestroy, raise
-
-
-
-
Method Detail
-
addEntity
public void addEntity(cmion.storage.CmionStorageContainer entityContainer)
add an entity (Agent or Object) to the world model
-
removeEntity
public void removeEntity(java.lang.String entityName)
remove an entity (Agent or Object) from the world model
-
setProperty
public void setProperty(java.lang.String propertyName, java.lang.String propertyValue, boolean persistent, cmion.storage.CmionStorageContainer parentContainer)sets a property (Agent or Object) from the world model
-
removeProperty
public void removeProperty(java.lang.String propertyName, cmion.storage.CmionStorageContainer entityContainer)removes a property (Agent or Object) from the world model
-
registerHandlers
public void registerHandlers()
- Specified by:
registerHandlersin classcmion.architecture.CmionComponent
-
-