java.lang.Object
it.polimi.ingsw.view.inputManagers.InputManager
it.polimi.ingsw.view.inputManagers.SelectWorkerInputManager
public class SelectWorkerInputManager extends InputManager
-
Field Summary
Fields inherited from class it.polimi.ingsw.view.inputManagers.InputManager
client, inputCountdown, isWaitingForInput, view
-
Constructor Summary
Constructors Constructor Description SelectWorkerInputManager(Client client, java.util.List<Cell> workerCells, MessageManagerParser parser)
-
Method Summary
Modifier and Type Method Description void
manageInput(java.lang.String input)
Determines how to handle the received input based on the internal statevoid
setWaitingForInput(boolean waitingForInput)
Methods inherited from class it.polimi.ingsw.view.inputManagers.InputManager
cleanInput, startTimer, stopTimer
-
Constructor Details
-
SelectWorkerInputManager
public SelectWorkerInputManager(Client client, java.util.List<Cell> workerCells, MessageManagerParser parser)
-
-
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
-
setWaitingForInput
public void setWaitingForInput(boolean waitingForInput)- Overrides:
setWaitingForInput
in classInputManager
-