|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.CommandMessage
cz.cuni.amis.pogamut.udk.communication.messages.gbcommands.Respawn
public class Respawn
Use this to kill bot and force him to respawn, you can specify start location and rotation. Work also for human players and spectators in the game. This command can be issued also by bot on the bot itself (in this case Id attribute is not parsed). Corresponding GameBots command is RESPAWN.
Field Summary | |
---|---|
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 Summary | |
---|---|
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. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
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)
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |