java.lang.Object
it.polimi.ingsw.view.inputManagers.InputManager
it.polimi.ingsw.view.inputManagers.SelectActionInputManager
public class SelectActionInputManager extends InputManager
-
Field Summary
Fields inherited from class it.polimi.ingsw.view.inputManagers.InputManager
client, inputCountdown, isWaitingForInput, view
-
Constructor Summary
Constructors Constructor Description SelectActionInputManager(Client client, java.util.List<PossibleActions> possibleActions, java.util.List<Cell> workersCells, MessageManagerParser parser)
Default constructor -
Method Summary
Modifier and Type Method Description void
manageInput(java.lang.String input)
Determines how to handle the received input based on the internal stateMethods inherited from class it.polimi.ingsw.view.inputManagers.InputManager
cleanInput, setWaitingForInput, startTimer, stopTimer
-
Constructor Details
-
SelectActionInputManager
public SelectActionInputManager(Client client, java.util.List<PossibleActions> possibleActions, java.util.List<Cell> workersCells, MessageManagerParser parser)Default constructor- Parameters:
client
- the client to manage the inputs for
-
-
Method Details
-
manageInput
public void manageInput(java.lang.String input)Description copied from class:InputManager
Determines how to handle the received input based on the internal stateThis method expects an already trimmed input
- Specified by:
manageInput
in classInputManager
- Parameters:
input
- the user input
-