public class Respawn
extends cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
Modifier and Type | Field and Description |
---|---|
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
Id
Id of the bot to be respawned (not used if command sent to
bot).
|
protected cz.cuni.amis.pogamut.base3d.worldview.object.Location |
StartLocation
Where bot respawns.
|
protected cz.cuni.amis.pogamut.base3d.worldview.object.Rotation |
StartRotation
Initial rotation of the bot.
|
Constructor and Description |
---|
Respawn()
Creates new instance of command Respawn.
|
Respawn(Respawn original)
Cloning constructor.
|
Respawn(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id,
cz.cuni.amis.pogamut.base3d.worldview.object.Location StartLocation,
cz.cuni.amis.pogamut.base3d.worldview.object.Rotation StartRotation)
Creates new instance of command Respawn.
|
Modifier and Type | Method and Description |
---|---|
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getId()
Id of the bot to be respawned (not used if command sent to
bot).
|
cz.cuni.amis.pogamut.base3d.worldview.object.Location |
getStartLocation()
Where bot respawns.
|
cz.cuni.amis.pogamut.base3d.worldview.object.Rotation |
getStartRotation()
Initial rotation of the bot.
|
Respawn |
setId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id)
Id of the bot to be respawned (not used if command sent to
bot).
|
Respawn |
setStartLocation(cz.cuni.amis.pogamut.base3d.worldview.object.Location StartLocation)
Where bot respawns.
|
Respawn |
setStartRotation(cz.cuni.amis.pogamut.base3d.worldview.object.Rotation StartRotation)
Initial rotation of the bot.
|
String |
toHtmlString() |
String |
toMessage() |
String |
toString() |
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id
protected cz.cuni.amis.pogamut.base3d.worldview.object.Location StartLocation
protected cz.cuni.amis.pogamut.base3d.worldview.object.Rotation StartRotation
public Respawn(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id, cz.cuni.amis.pogamut.base3d.worldview.object.Location StartLocation, cz.cuni.amis.pogamut.base3d.worldview.object.Rotation StartRotation)
Id
- Id of the bot to be respawned (not used if command sent to
bot).StartLocation
- Where bot respawns. If you want to respawn bot at random,
don't specify StartLocation.StartRotation
- Initial rotation of the bot.public Respawn()
public Respawn(Respawn original)
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
public Respawn setId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id)
public cz.cuni.amis.pogamut.base3d.worldview.object.Location getStartLocation()
public Respawn setStartLocation(cz.cuni.amis.pogamut.base3d.worldview.object.Location StartLocation)
public cz.cuni.amis.pogamut.base3d.worldview.object.Rotation getStartRotation()
public Respawn setStartRotation(cz.cuni.amis.pogamut.base3d.worldview.object.Rotation StartRotation)
public String toString()
toString
in class cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
public String toHtmlString()
public String toMessage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.