|
|||||||||
| 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 java.lang.String |
Player
Name of the affected player. |
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected java.lang.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(java.lang.String Player,
java.lang.String Sound)
Creates new instance of command PlaySound. |
|
| Method Summary | |
|---|---|
java.lang.String |
getPlayer()
Name of the affected player. |
java.lang.String |
getSound()
Name of the sound that should be played. |
PlaySound |
setPlayer(java.lang.String Player)
Name of the affected player. |
PlaySound |
setSound(java.lang.String Sound)
Name of the sound that should be played. |
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 java.lang.String Player
protected java.lang.String Sound
| Constructor Detail |
|---|
public PlaySound(java.lang.String Player,
java.lang.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 java.lang.String getPlayer()
public PlaySound setPlayer(java.lang.String Player)
public java.lang.String getSound()
public PlaySound setSound(java.lang.String Sound)
public java.lang.String toString()
toString in class CommandMessagepublic 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 | ||||||||