|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjfreerails.server.MapFixtureFactory2
public class MapFixtureFactory2
Stores a static world object and provides copies to clients.
Field Summary | |
---|---|
private static World |
w
|
Constructor Summary | |
---|---|
MapFixtureFactory2()
|
Method Summary | |
---|---|
private static World |
generateWorld()
|
static World |
getCopy()
Returns a world object with a map of size 50*50, 4 players, and track, terrain and cargo types as specifed in the xml files used by the actual game. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static World w
Constructor Detail |
---|
public MapFixtureFactory2()
Method Detail |
---|
public static World getCopy()
private static World generateWorld()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |