cz.cuni.amis.pogamut.ut2004.tag.protocol.messages
Class TagPassed
java.lang.Object
cz.cuni.amis.pogamut.ut2004.communication.messages.custom.BaseCustomControlMessage
cz.cuni.amis.pogamut.ut2004.tag.protocol.messages.TagMessage
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
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 |
TagPassed
public TagPassed()
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.