public class SetSendKeys
extends cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
Modifier and Type | Field and Description |
---|---|
protected String |
Player
Name of the affected player.
|
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
PlayerId
Id of the affected player.
|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
protected Boolean |
Send
If true, the player can behave normally.
|
Constructor and Description |
---|
SetSendKeys()
Creates new instance of command SetSendKeys.
|
SetSendKeys(SetSendKeys original)
Cloning constructor.
|
SetSendKeys(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId PlayerId,
String Player,
Boolean Send)
Creates new instance of command SetSendKeys.
|
Modifier and Type | Method and Description |
---|---|
String |
getPlayer()
Name of the affected player.
|
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getPlayerId()
Id of the affected player.
|
Boolean |
isSend()
If true, the player can behave normally.
|
SetSendKeys |
setPlayer(String Player)
Name of the affected player.
|
SetSendKeys |
setPlayerId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId PlayerId)
Id of the affected player.
|
SetSendKeys |
setSend(Boolean Send)
If true, the player can behave normally.
|
String |
toHtmlString() |
String |
toMessage() |
String |
toString() |
public static final String PROTOTYPE
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId PlayerId
protected String Player
protected Boolean Send
public SetSendKeys(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId PlayerId, String Player, 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
- public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getPlayerId()
public SetSendKeys setPlayerId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId PlayerId)
public String getPlayer()
public SetSendKeys setPlayer(String Player)
public Boolean isSend()
public SetSendKeys setSend(Boolean Send)
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.