public class TCEvents extends Object
IWorldView for TCControlMessage descendant events
Intended to be subclassed and appropriate method(s) #tcControlServerAlive(TagGameStart) overridden.
Default state: DISABLED, must be enableTCEvents()ed manually in order to receive callbacks.
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
enabled |
protected cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEventListener<TCControlServerAlive> |
tcControlServerAliveListener |
protected cz.cuni.amis.pogamut.base.communication.worldview.IWorldView |
worldView |
| Constructor and Description |
|---|
TCEvents(cz.cuni.amis.pogamut.base.communication.worldview.IWorldView worldView) |
| Modifier and Type | Method and Description |
|---|---|
void |
disableTCEvents() |
void |
enableTCEvents() |
void |
tcControlServerAlive(TCControlServerAlive event) |
protected boolean enabled
protected cz.cuni.amis.pogamut.base.communication.worldview.IWorldView worldView
protected cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEventListener<TCControlServerAlive> tcControlServerAliveListener
public TCEvents(cz.cuni.amis.pogamut.base.communication.worldview.IWorldView worldView)
public void enableTCEvents()
public void disableTCEvents()
public void tcControlServerAlive(TCControlServerAlive event)
Copyright © 2019 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.