public class Map extends java.lang.Object implements MapConstants
| Modifier and Type | Field and Description |
|---|---|
static java.util.Optional<EnumRegion> |
currentlySelectedRegion |
CALIFORNIA, CALIFORNIA_COLOR, HEARTLAND, HEARTLAND_COLOR, MOUNTAIN, MOUNTAIN_COLOR, NORTHERN_CRESCENT, NORTHERN_CRESCENT_COLOR, NORTHERN_PLAINS, NORTHERN_PLAINS_COLOR, SELECT_RADIUS, SOUTHEAST, SOUTHEAST_COLOR, SOUTHERN_PLAINS, SOUTHERN_PLAINS_COLOR, UNSELECT_RADIUS| Constructor and Description |
|---|
Map()
Constructor for the Map class
|
| Modifier and Type | Method and Description |
|---|---|
javafx.scene.Node |
getConfigMapNode(Client client)
Returns an instance of the map node styled for the configuration phase
|
javafx.scene.Node |
getGameMapNode()
Creates an instance of Map and instantiates the USA Node
|
javafx.fxml.FXMLLoader |
getLoader() |
static java.lang.String |
hashtagify(java.lang.String dirtyString)
May god bless our children for he has given us hashtagification
|
void |
unselectRegion()
Unselects the currently selected region, if it exists
|
public static java.util.Optional<EnumRegion> currentlySelectedRegion
public javafx.fxml.FXMLLoader getLoader()
public javafx.scene.Node getGameMapNode()
public javafx.scene.Node getConfigMapNode(Client client)
client - public void unselectRegion()
public static java.lang.String hashtagify(java.lang.String dirtyString)
dirtyString - filthy, un-hashtagged string