public class SetGameSpeed extends CommandMessage
| Modifier and Type | Field and Description |
|---|---|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
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.
|
public static final String PROTOTYPE
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)
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.