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.
 

Method Detail

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 alter
nooneway - Whether different number of lanes in each direction is permitted
rand - The random number generator