rescuecore.tools.mapgenerator
Interface RoadWeighter
- All Known Implementing Classes:
- AntsRoadWeighter
- public interface RoadWeighter
Interface to classes that set the number of lanes of roads
in a RescueMap.
Method Summary |
void |
connect(RescueMap rm,
int uniformity,
boolean nooneway,
java.util.Random rand)
Alters the number of lanes on roads in the map. |
connect
public void connect(RescueMap rm,
int uniformity,
boolean nooneway,
java.util.Random rand)
- Alters the number of lanes on roads in the map.
- Parameters:
rm
- The RescueMap to alternooneway
- Whether different number of lanes in each direction is permittedrand
- The random number generator