Package | Description |
---|---|
com.vsegouin.mowitnow.controllers |
Created by v.segouin on 13/09/2016.
|
com.vsegouin.mowitnow.controllers.interfaces |
Created by v.segouin on 13/09/2016.
|
com.vsegouin.mowitnow.services.file |
Created by v.segouin on 11/09/2016.
|
com.vsegouin.mowitnow.services.file.interfaces |
Created by v.segouin on 13/09/2016.
|
com.vsegouin.mowitnow.ui.gui.controllers |
Created by v.segouin on 13/09/2016.
|
com.vsegouin.mowitnow.ui.gui.controllers.interfaces |
Created by v.segouin on 13/09/2016.
|
Modifier and Type | Method and Description |
---|---|
Mower |
MainController.fetchMowerFromCoordinates(MapArea map,
int x,
int y)
Will check the mower's state and will return the mower located at the 'x','y' position.
|
Modifier and Type | Method and Description |
---|---|
Map<MapArea,Map<Mower,String>> |
MainController.getMapMowersList() |
List<Map.Entry<Mower,MowerCommands>> |
MainController.getProgramHistoric() |
Modifier and Type | Method and Description |
---|---|
void |
MainController.addMower(MapArea map,
Mower mower)
add a new mower.
|
void |
MainController.executesCommands(Mower mower,
char abbreviation)
Make the mower to execute one command.
|
void |
MainController.executesCommands(Mower mower,
MowerCommands command) |
void |
MainController.executesCommands(Mower mower,
String commandLine)
Parse the commandLine, will extract each command one by one and will make the mower to execute it.
|
int |
MainController.getMowerIndex(MapArea map,
Mower mower)
will check the mower's position in the map.
|
Modifier and Type | Method and Description |
---|---|
void |
MainController.setMapMowersList(Map<MapArea,Map<Mower,String>> mapMowersList) |
Modifier and Type | Method and Description |
---|---|
Mower |
MowerController.fetchMowerFromCoordinates(MapArea map,
int x,
int y)
Return the mower presents in the map at coordinate x y.
|
Modifier and Type | Method and Description |
---|---|
Map<MapArea,Map<Mower,String>> |
MowerController.getMapMowersList()
Get the complete list of the Map and the mowers and their commands line.
|
List<Map.Entry<Mower,MowerCommands>> |
MowerController.getProgramHistoric()
Get the full historic of the program.
|
Modifier and Type | Method and Description |
---|---|
void |
MowerController.addMower(MapArea map,
Mower mower)
Add a new mower in the map at the x y coordinate.
|
void |
MowerController.executesCommands(Mower mower,
char abbreviation)
Make the mower executes the command.
|
void |
MowerController.executesCommands(Mower mower,
MowerCommands command)
Make the mower executes the command.
|
void |
MowerController.executesCommands(Mower mower,
String commandLine)
Make the mower execute the command line.
|
int |
MowerController.getMowerIndex(MapArea map,
Mower mower)
Get the mower's addition number.
|
Modifier and Type | Method and Description |
---|---|
Map<Mower,String> |
FileControl.loadMowers(List<String> commandsLines,
MapArea initialMap)
Will read and parse the 'commandLines' extracted with the 'readFile' method and will set them on the map,
it will return a map with the mowers and their commands.
|
Modifier and Type | Method and Description |
---|---|
Map<Mower,String> |
FileControlInterface.loadMowers(List<String> fileContent,
MapArea map)
Load the mowers and their corresponding commands line from file.
|
Modifier and Type | Method and Description |
---|---|
Mower |
MainControllerGUI.getCurrentlySelectedMower() |
Modifier and Type | Method and Description |
---|---|
Mower |
GUIController.getCurrentlySelectedMower()
Get the current selected mower.
|
Copyright © 2016. All Rights Reserved.