jfreerails.server
Class MapFixtureFactory2

java.lang.Object
  extended by jfreerails.server.MapFixtureFactory2

public class MapFixtureFactory2
extends java.lang.Object

Stores a static world object and provides copies to clients.

Author:
Luke Lindsay

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

w

private static World w
Constructor Detail

MapFixtureFactory2

public MapFixtureFactory2()
Method Detail

getCopy

public 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.


generateWorld

private static World generateWorld()