public class MapUtil
extends Object
-
Constructor Summary 
Constructors
-
Method Summary 
Choose a random colour for a nation from the allowed list
Choose a random colour for a town from the allowed list
Methods inherited from class java.lang.Object 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details 
-
MapUtil 
public MapUtil()
-
Method Details 
-
generateRandomNationColourAsHexCode 
public static String generateRandomNationColourAsHexCode()
Choose a random colour for a nation from the allowed list
- Returns:
- color in hex code format
-
generateRandomTownColourAsHexCode 
public static String generateRandomTownColourAsHexCode()
Choose a random colour for a town from the allowed list
- Returns:
- color in hex code format