cz.cuni.amis.pogamut.ut2004.hideandseek.protocol.messages
Class HSRunnerSpotted

Package class diagram package HSRunnerSpotted
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.communication.messages.custom.BaseCustomControlMessage
      extended by cz.cuni.amis.pogamut.ut2004.hideandseek.protocol.messages.HSMessage
          extended by 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

Constructor Summary
HSRunnerSpotted()
           
 
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 cz.cuni.amis.pogamut.ut2004.communication.messages.custom.BaseCustomControlMessage
getSimTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HSRunnerSpotted

public HSRunnerSpotted()
Method Detail

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 © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.