cz.cuni.amis.pogamut.ut2004.hideandseek.protocol.messages
Class HSRunnerSpotted
java.lang.Object
cz.cuni.amis.pogamut.ut2004.communication.messages.custom.BaseCustomControlMessage
cz.cuni.amis.pogamut.ut2004.hideandseek.protocol.messages.HSMessage
cz.cuni.amis.pogamut.ut2004.hideandseek.protocol.messages.HSRunnerSpotted
- All Implemented Interfaces:
- cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent, cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEvent, ICustomControlMessage, cz.cuni.amis.utils.listener.Event
public class HSRunnerSpotted
- extends HSMessage
Seeker has spotted getBotId() and may capture him by running into the safe area before it.
NOTE THAT THE SEEKER CANNOT CAPTURE THE RUNNER BEFORE THIS MESSAGE IS BROADCAST!
UT2004HSServer implements delay between "runner is visible" and "seeker is spotted" to allow "peeking-around-the-corner" behavior for
the seeker.
- Author:
- Jimmy
|
Method Summary |
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getBotId()
|
void |
setBotId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId botId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HSRunnerSpotted
public HSRunnerSpotted()
getBotId
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getBotId()
setBotId
public void setBotId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId botId)
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.