|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrescuecore.tools.mapgenerator.RoadSetFactory
A class that provides a factory method for creating and setting up a RescueMap.
Constructor Summary | |
RoadSetFactory()
|
Method Summary | |
static RescueMap |
createRoadSet(java.lang.String scheme,
int width,
int height,
int density,
java.util.Random rand)
Creates a RescueMap, then initialises its nodes and roads. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RoadSetFactory()
Method Detail |
public static RescueMap createRoadSet(java.lang.String scheme, int width, int height, int density, java.util.Random rand)
scheme
- The name of the initialisation scheme to use.width
- Approximate width to make the map in millimeters.height
- Approximate height to make the map in millimeters.density
- How dense to make the roads of map - from 0..100.rand
- The random number generator.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |