|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.upb.swtpra05.group03.shuttle.shared.PluginGameConstants
single class to send infos to the plugin
| Field Summary | |
private static int |
maximumLoad
the maximum number of loaded passengers |
private static int |
maximumStretch
the maximum stretch of the shuttle |
static int |
PICKABACKIDENTIFIER
Identifier needed for generating the PickabackString and to recognize this class in a PickabackString |
| Fields inherited from interface de.upb.swtpra05.group03.shuttle.shared.PickabackInterface |
MEMBERVARSEPARATOR, OBJECTSEPARATOR |
| Constructor Summary | |
PluginGameConstants()
Constructor for the PluginGameConstants object |
|
PluginGameConstants(int newMaximumStretch,
int newMaximumLoad)
Constructor for the PluginGameConstants object |
|
| Method Summary | |
static PluginGameConstants |
createPluginGameConstantsFromPickaback(java.lang.String s)
Decodes a previosly encoded ExtendedOrder-Pickabackstring and returns the ExtendedOrder |
int |
getMaximumLoad()
Gets the maximumLoad attribute of the PluginGameConstants object |
int |
getMaximumStretch()
Gets the maximumStretch attribute of the PluginGameConstants object |
void |
setMaximumLoad(int newMaximumLoad)
Sets the maximumLoad attribute of the PluginGameConstants object |
void |
setMaximumStretch(int newMaximumStretch)
Sets the maximumStretch attribute of the PluginGameConstants object |
java.lang.String |
toPickabackString()
Description of the Method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static int maximumStretch
private static int maximumLoad
public static final int PICKABACKIDENTIFIER
| Constructor Detail |
public PluginGameConstants()
public PluginGameConstants(int newMaximumStretch,
int newMaximumLoad)
newMaximumStretch - Description of the ParameternewMaximumLoad - Description of the Parameter| Method Detail |
public void setMaximumStretch(int newMaximumStretch)
newMaximumStretch - The new maximumStretch valuepublic void setMaximumLoad(int newMaximumLoad)
newMaximumLoad - The new maximumLoad valuepublic int getMaximumStretch()
public int getMaximumLoad()
public java.lang.String toPickabackString()
public static PluginGameConstants createPluginGameConstantsFromPickaback(java.lang.String s)
s - a string-encoded ExtendedOrder
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||