public class GamePhaseMapController extends MapController
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 |
|---|
GamePhaseMapController() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleMouseClicked(javafx.scene.input.MouseEvent event)
Defines the behavior of the map whena region is click on by the user's mouse
|
void |
handleMouseEntered(javafx.scene.input.MouseEvent event)
Defines the behavior of the map when a region is entered by the user's mouse
|
void |
handleMouseExited(javafx.scene.input.MouseEvent event)
Defines the behavior of the map when a region is exited by the user's mouse
|
void |
handleMouseMoved(javafx.scene.input.MouseEvent event)
Defines the behavior of the map when the mouse is moved by the user
|
colorTakenRegions, setClient, setCurrentController, styleRegionpublic void handleMouseEntered(javafx.scene.input.MouseEvent event)
handleMouseEntered in class MapControllerevent - Mouse event that triggered the entering of the regionpublic void handleMouseExited(javafx.scene.input.MouseEvent event)
handleMouseExited in class MapControllerevent - Mouse even that was triggered upon exiting a regionpublic void handleMouseMoved(javafx.scene.input.MouseEvent event)
handleMouseMoved in class MapControllerevent - Mouse event that was triggered upon moving the mousepublic void handleMouseClicked(javafx.scene.input.MouseEvent event)
handleMouseClicked in class MapControllerevent - Mouse event that was triggered upon clicking a region