public class SetGameSpeed extends CommandMessage
| Modifier and Type | Field and Description |
|---|---|
protected double |
Speed
Can range from 0.1 to 50.
|
| Constructor and Description |
|---|
SetGameSpeed()
Creates new instance of command SetGameSpeed.
|
SetGameSpeed(double Speed)
Creates new instance of command SetGameSpeed.
|
SetGameSpeed(SetGameSpeed original)
Cloning constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
protected double Speed
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)
public double getSpeed()
public SetGameSpeed setSpeed(double Speed)
public String toString()
toString in class CommandMessagepublic String toHtmlString()
public String toMessage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.