|
||||||||||
| 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.SetGameSpeed
public class SetGameSpeed
Will set speed of the game. Corresponding GameBots command is SETGAMESPEED.
| Field Summary | |
|---|---|
protected double |
Speed
Can range from 0.1 to 50. |
| Constructor Summary | |
|---|---|
SetGameSpeed()
Creates new instance of command SetGameSpeed. |
|
SetGameSpeed(double Speed)
Creates new instance of command SetGameSpeed. |
|
SetGameSpeed(SetGameSpeed original)
Cloning constructor. |
|
| Method Summary | |
|---|---|
double |
getSpeed()
Can range from 0.1 to 50. |
SetGameSpeed |
setSpeed(double Speed)
Can range from 0.1 to 50. |
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 double Speed
| Constructor Detail |
|---|
public SetGameSpeed(double Speed)
Speed - Can range from 0.1 to 50. 1 is normal game speed. The
reasonable speeding up is around 10. The game engine stops
catching up at higher values.public SetGameSpeed()
public SetGameSpeed(SetGameSpeed original)
| Method Detail |
|---|
public double getSpeed()
public SetGameSpeed setSpeed(double Speed)
public String toString()
toString in class CommandMessagepublic String toHtmlString()
public String toMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||