|
||||||||||
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.EnterVehicle
public class EnterVehicle
Tries to enter vehicle specified by Id. Note: You have to be in vehicle EntryRadius to enter (default 100 ut units). Response to this command are messages ENTERED and LOCKED. Beware! When in vehicle just command RUNTO with Target specified works for move commands. Any other move commands will cause vehicle to got straight ahead. Also it is not possible to control speed or steering at this moment. Everything is done automaticaly by RUNTO with Target specified. Corresponding GameBots command is ENTER.
Field Summary | |
---|---|
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
Id
Id of the vehicle we want to enter. |
Constructor Summary | |
---|---|
EnterVehicle()
Creates new instance of command EnterVehicle. |
|
EnterVehicle(EnterVehicle original)
Cloning constructor. |
|
EnterVehicle(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id)
Creates new instance of command EnterVehicle. |
Method Summary | |
---|---|
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getId()
Id of the vehicle we want to enter. |
EnterVehicle |
setId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id)
Id of the vehicle we want to enter. |
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
Constructor Detail |
---|
public EnterVehicle(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id)
Id
- Id of the vehicle we want to enter.public EnterVehicle()
public EnterVehicle(EnterVehicle original)
Method Detail |
---|
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
public EnterVehicle setId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id)
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 |