cz.cuni.amis.pogamut.ut2004.teamcomm.bot
Class TCEvents
java.lang.Object
cz.cuni.amis.pogamut.ut2004.teamcomm.bot.TCEvents
public class TCEvents
- extends Object
Listens to 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.
- Author:
- Jimmy
|
Constructor Summary |
TCEvents(cz.cuni.amis.pogamut.base.communication.worldview.IWorldView worldView)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
enabled
protected boolean enabled
worldView
protected cz.cuni.amis.pogamut.base.communication.worldview.IWorldView worldView
tcControlServerAliveListener
protected cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEventListener<TCControlServerAlive> tcControlServerAliveListener
TCEvents
public TCEvents(cz.cuni.amis.pogamut.base.communication.worldview.IWorldView worldView)
enableTCEvents
public void enableTCEvents()
disableTCEvents
public void disableTCEvents()
tcControlServerAlive
public void tcControlServerAlive(TCControlServerAlive event)
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.