|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.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.base3d.worldview.impl.LockableBatchAwareWorldView
cz.cuni.amis.pogamut.defcon.communication.worldview.DefConWorldView
public class DefConWorldView
Worldview implementation specific for defcon.
| Field Summary | |
|---|---|
static String |
WORLDVIEW_DEPENDENCY
|
| Fields inherited from class cz.cuni.amis.pogamut.base.communication.worldview.impl.EventDrivenWorldView |
|---|
notifyEventsList, receiveEventProcessing |
| Fields inherited from class cz.cuni.amis.pogamut.base.communication.worldview.impl.AbstractWorldView |
|---|
COMPONENT_ID, control, controller, eventBus, log |
| Constructor Summary | |
|---|---|
DefConWorldView(ComponentDependencies dependencies,
DefConMessageProducer messageProducer,
IComponentBus bus,
IAgentLogger log)
|
|
| Method Summary | |
|---|---|
float |
getCurrentTime()
|
GameInfo |
getGameInfo()
Returns game info object used to query defcon. |
double |
getMaxX()
Returns maximal X value. |
double |
getMaxY()
Returns maximal Y value. |
double |
getMinX()
Returns minimal X value. |
double |
getMinY()
Returns minimal Y value. |
float |
getStartTime()
|
double |
getXSize()
Returns width of the map. |
double |
getYSize()
Returns height of the map. |
protected boolean |
isBatchBeginEvent(IWorldChangeEvent evt)
|
protected boolean |
isBatchEndEvent(IWorldChangeEvent evt)
|
protected void |
setDisappearedFlag(IViewable obj)
|
void |
update()
Updates message producer and reports the event. |
void |
updateProducer()
Updates the message producer. |
| Methods inherited from class cz.cuni.amis.pogamut.base3d.worldview.impl.LockableBatchAwareWorldView |
|---|
isLocked, lock, notify, unlock |
| Methods inherited from class cz.cuni.amis.pogamut.base3d.worldview.impl.BatchAwareWorldView |
|---|
batchAwareWorldViewNotify, hasObjectsToProcess, notifyImmediately, objectAppeared, objectDisappeared |
| Methods inherited from class cz.cuni.amis.pogamut.base3d.worldview.impl.VisionWorldView |
|---|
addVisibleObject, cleanUp, getAllVisible, getAllVisible, getVisible, getVisible, objectCreated, objectDestroyed, objectUpdatedEvent, removeVisibleObject |
| Methods inherited from class cz.cuni.amis.pogamut.base.communication.worldview.impl.EventDrivenWorldView |
|---|
innerNotify, notifyAfterPropagation, objectUpdated, raiseEvent |
| Methods inherited from class cz.cuni.amis.pogamut.base.communication.worldview.impl.AbstractWorldView |
|---|
addEventListener, addObjectListener, addObjectListener, addObjectListener, addObjectListener, addWorldObject, get, 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, get, getAll, getAll, getEventBus, getSingle, isListening, isListening, isListening, isListening, isListening, isListening, removeEventListener, removeListener, removeObjectListener, removeObjectListener, removeObjectListener, removeObjectListener |
| Methods inherited from interface cz.cuni.amis.pogamut.base.communication.worldview.IWorldChangeEventInput |
|---|
notifyAfterPropagation, notifyImmediately |
| Methods inherited from interface cz.cuni.amis.pogamut.base.component.IComponent |
|---|
getComponentId |
| Field Detail |
|---|
public static final String WORLDVIEW_DEPENDENCY
| Constructor Detail |
|---|
@Inject
public DefConWorldView(ComponentDependencies dependencies,
DefConMessageProducer messageProducer,
IComponentBus bus,
IAgentLogger log)
| Method Detail |
|---|
protected boolean isBatchBeginEvent(IWorldChangeEvent evt)
isBatchBeginEvent in class LockableBatchAwareWorldViewprotected boolean isBatchEndEvent(IWorldChangeEvent evt)
isBatchEndEvent in class BatchAwareWorldViewprotected void setDisappearedFlag(IViewable obj)
setDisappearedFlag in class BatchAwareWorldViewpublic void update()
public float getStartTime()
public float getCurrentTime()
public GameInfo getGameInfo()
public double getMinX()
public double getMaxX()
public double getMinY()
public double getMaxY()
public double getXSize()
public double getYSize()
public void updateProducer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||