|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.communication.messages.CommandMessage cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.SetSendKeys
public class SetSendKeys
Representation of the GameBots2004 command SETSENDKEYS. Sets whether all key (not mouse) events should be sent through the KEYEVENT message.
Field Summary | |
---|---|
protected java.lang.String |
Player
Name of the affected player. |
protected UnrealId |
PlayerId
Id of the affected player. |
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected java.lang.Boolean |
Send
If true, the player can behave normally. |
Constructor Summary | |
---|---|
SetSendKeys()
Creates new instance of command SetSendKeys. |
|
SetSendKeys(SetSendKeys original)
Cloning constructor. |
|
SetSendKeys(UnrealId PlayerId,
java.lang.String Player,
java.lang.Boolean Send)
Creates new instance of command SetSendKeys. |
Method Summary | |
---|---|
java.lang.String |
getPlayer()
Name of the affected player. |
UnrealId |
getPlayerId()
Id of the affected player. |
java.lang.Boolean |
isSend()
If true, the player can behave normally. |
SetSendKeys |
setPlayer(java.lang.String Player)
Name of the affected player. |
SetSendKeys |
setPlayerId(UnrealId PlayerId)
Id of the affected player. |
SetSendKeys |
setSend(java.lang.Boolean Send)
If true, the player can behave normally. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toMessage()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROTOTYPE
protected UnrealId PlayerId
protected java.lang.String Player
protected java.lang.Boolean Send
Constructor Detail |
---|
public SetSendKeys(UnrealId PlayerId, java.lang.String Player, java.lang.Boolean Send)
PlayerId
- Id of the affected player. Used in GBUE2.Player
- Name of the affected player. Used in GBScenario.Send
- If true, the player can behave normally. If false, the player cannot perform any action.public SetSendKeys()
public SetSendKeys(SetSendKeys original)
original
- Method Detail |
---|
public UnrealId getPlayerId()
public SetSendKeys setPlayerId(UnrealId PlayerId)
public java.lang.String getPlayer()
public SetSendKeys setPlayer(java.lang.String Player)
public java.lang.Boolean isSend()
public SetSendKeys setSend(java.lang.Boolean Send)
public java.lang.String toString()
toString
in class CommandMessage
public java.lang.String toHtmlString()
public java.lang.String toMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |