cz.cuni.amis.pogamut.ut2004.communication.worldview
Class UT2004WorldView
java.lang.Object
cz.cuni.amis.pogamut.base.communication.worldview.impl.AbstractWorldView
cz.cuni.amis.pogamut.base.communication.worldview.impl.EventDrivenWorldView
cz.cuni.amis.pogamut.base3d.worldview.impl.VisionWorldView
cz.cuni.amis.pogamut.base3d.worldview.impl.BatchAwareWorldView
cz.cuni.amis.pogamut.ut2004.communication.worldview.UT2004WorldView
- All Implemented Interfaces:
- IWorldChangeEventInput, IWorldView, IComponent, IVisionWorldView
- Direct Known Subclasses:
- UT2004LockableWorldView, UT2004SyncLockableWorldView
public class UT2004WorldView
- extends BatchAwareWorldView
WorldView understanding some UT2004 semantics.
Methods inherited from class cz.cuni.amis.pogamut.base.communication.worldview.impl.AbstractWorldView |
addEventListener, addObjectListener, addObjectListener, addObjectListener, addObjectListener, addWorldObject, get, get, getAll, getAll, getComponentId, getEventBus, getLog, getSingle, isListening, isListening, isListening, isListening, isListening, isListening, isPaused, isRunning, kill, pause, prePause, preStop, removeEventListener, removeListener, removeObjectListener, removeObjectListener, removeObjectListener, removeObjectListener, removeWorldObject, reset, resume, start, stop, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface cz.cuni.amis.pogamut.base.communication.worldview.IWorldView |
addEventListener, addObjectListener, addObjectListener, addObjectListener, addObjectListener, get, get, getAll, getAll, getEventBus, getSingle, isListening, isListening, isListening, isListening, isListening, isListening, removeEventListener, removeListener, removeObjectListener, removeObjectListener, removeObjectListener, removeObjectListener |
WORLDVIEW_DEPENDENCY
public static final java.lang.String WORLDVIEW_DEPENDENCY
- See Also:
- Constant Field Values
UT2004WorldView
@Inject
public UT2004WorldView(ComponentDependencies dependencies,
IMediator mediator,
IComponentBus bus,
IAgentLogger log)
isBatchEndEvent
protected boolean isBatchEndEvent(IWorldChangeEvent evt)
- Description copied from class:
BatchAwareWorldView
- Is this event a batch end event? If so some extra events may be generated
in processing this message.
- Specified by:
isBatchEndEvent
in class BatchAwareWorldView
- Returns:
- true if this is a batch ending event
isBatchBeginEvent
protected boolean isBatchBeginEvent(IWorldChangeEvent evt)
- Description copied from class:
BatchAwareWorldView
- Is this event a batch begin event? It is needed for the locking to be
working correctly.
- Specified by:
isBatchBeginEvent
in class BatchAwareWorldView
- Returns:
- true if this is a batch ending event
setDisappearedFlag
protected void setDisappearedFlag(IViewable obj)
- Description copied from class:
BatchAwareWorldView
- Sets the visible flag to true on
IViewable
objects.
- Specified by:
setDisappearedFlag
in class BatchAwareWorldView
- Parameters:
obj
- Object that disappeared