public class Respawn extends CommandMessage
| Modifier and Type | Field and Description |
|---|---|
protected UnrealId |
Id
Id of the bot to be respawned (not used if command sent to
bot).
|
protected Location |
StartLocation
Where bot respawns.
|
protected Rotation |
StartRotation
Initial rotation of the bot.
|
| Constructor and Description |
|---|
Respawn()
Creates new instance of command Respawn.
|
Respawn(Respawn original)
Cloning constructor.
|
Respawn(UnrealId Id,
Location StartLocation,
Rotation StartRotation)
Creates new instance of command Respawn.
|
| Modifier and Type | Method and Description |
|---|---|
UnrealId |
getId()
Id of the bot to be respawned (not used if command sent to
bot).
|
Location |
getStartLocation()
Where bot respawns.
|
Rotation |
getStartRotation()
Initial rotation of the bot.
|
Respawn |
setId(UnrealId Id)
Id of the bot to be respawned (not used if command sent to
bot).
|
Respawn |
setStartLocation(Location StartLocation)
Where bot respawns.
|
Respawn |
setStartRotation(Rotation StartRotation)
Initial rotation of the bot.
|
String |
toHtmlString() |
String |
toMessage() |
String |
toString() |
protected UnrealId Id
protected Location StartLocation
protected Rotation StartRotation
public Respawn(UnrealId Id, Location StartLocation, 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 UnrealId getId()
public Respawn setId(UnrealId Id)
public Location getStartLocation()
public Respawn setStartLocation(Location StartLocation)
public Rotation getStartRotation()
public Respawn setStartRotation(Rotation StartRotation)
public String toString()
toString in class CommandMessagepublic String toHtmlString()
public String toMessage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.