public abstract class AbstractGhostAgent<WORLD_VIEW extends IWorldView,ACT extends IAct> extends AbstractObservingAgent<WORLD_VIEW> implements IGhostAgent
Example can be a world controller that is connected to the world gets all world events (knows everything) and can alter the environment (sounds like a god, right? :-).
events, INTROSPECTION_ROOT_NAME, log, LOG_CATEGORY_NAME
Constructor and Description |
---|
AbstractGhostAgent(IAgentId agentId,
IComponentBus bus,
IAgentLogger logger,
WORLD_VIEW worldView,
ACT act) |
Modifier and Type | Method and Description |
---|---|
ACT |
getAct()
Returns an object through which we may communicate with the world.
|
getWorldView
addDependency, addDependency, addDependency, addJMXComponents, awaitState, awaitState, componentFatalError, componentStarted, componentStarted, componentStopped, componentStopping, createAgentJMX, createIntrospection, equals, getComponentId, getEventBus, getIntrospection, getJMX, getLog, getLogger, getName, getState, hashCode, inState, kill, killAgent, notInState, pause, pauseAgent, preKillAgent, preStopAgent, resetAgent, resetEvent, resume, resumeAgent, setState, start, startAgent, startPaused, startPausedAgent, stop, stopAgent, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getWorldView
getComponentId, getIntrospection, getLogger, getName, getState, kill, pause, resume, start, startPaused, stop
getEventBus
@Inject public AbstractGhostAgent(IAgentId agentId, IComponentBus bus, IAgentLogger logger, WORLD_VIEW worldView, ACT act)
public ACT getAct()
IGhostAgent
getAct
in interface IGhostAgent
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.