|
||||||||||
| 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.ut2004.communication.messages.gbcommands.PlaySound
public class PlaySound
Representation of the GameBots2004 command PLSND. Plays some sound.
| Field Summary | |
|---|---|
protected String |
Player
Name of the affected player. |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected String |
Sound
Name of the sound that should be played. |
| Constructor Summary | |
|---|---|
PlaySound()
Creates new instance of command PlaySound. |
|
PlaySound(PlaySound original)
Cloning constructor. |
|
PlaySound(String Player,
String Sound)
Creates new instance of command PlaySound. |
|
| Method Summary | |
|---|---|
String |
getPlayer()
Name of the affected player. |
String |
getSound()
Name of the sound that should be played. |
PlaySound |
setPlayer(String Player)
Name of the affected player. |
PlaySound |
setSound(String Sound)
Name of the sound that should be played. |
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 |
|---|
public static final String PROTOTYPE
protected String Player
protected String Sound
| Constructor Detail |
|---|
public PlaySound(String Player,
String Sound)
Player - Name of the affected player.Sound - Name of the sound that should be played.public PlaySound()
public PlaySound(PlaySound original)
original - | Method Detail |
|---|
public String getPlayer()
public PlaySound setPlayer(String Player)
public String getSound()
public PlaySound setSound(String Sound)
public String toString()
toString in class cz.cuni.amis.pogamut.base.communication.messages.CommandMessagepublic String toHtmlString()
public String toMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||