cz.cuni.amis.pogamut.ut2004.tag.protocol.messages
Class TagPassed

Package class diagram package TagPassed
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.communication.messages.custom.BaseCustomControlMessage
      extended by cz.cuni.amis.pogamut.ut2004.tag.protocol.messages.TagMessage
          extended by cz.cuni.amis.pogamut.ut2004.tag.protocol.messages.TagPassed
All Implemented Interfaces:
cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent, cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEvent, cz.cuni.amis.pogamut.ut2004.communication.messages.custom.ICustomControlMessage, cz.cuni.amis.utils.listener.Event

public class TagPassed
extends TagMessage


Constructor Summary
TagPassed()
           
 
Method Summary
 cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getFromBotId()
          WHO has passed the tagged (this bot has a tag, but touched another bot)
 cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getToBotId()
          WHO has been (received) the tag (this bot now switchis to IS-TAGGED state)
 void setFromBotId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId fromBotId)
           
 void setToBotId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId toBotId)
           
 
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

TagPassed

public TagPassed()
Method Detail

getFromBotId

public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getFromBotId()
WHO has passed the tagged (this bot has a tag, but touched another bot)

May be null, in that case it is the SERVER who is assigning the tag.

Returns:

setFromBotId

public void setFromBotId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId fromBotId)

getToBotId

public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getToBotId()
WHO has been (received) the tag (this bot now switchis to IS-TAGGED state)

May be null, in that case no new bot gets tagged (SERVER removed tag from getFromBotId() bot).

Returns:

setToBotId

public void setToBotId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId toBotId)


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.