Module AM37

Class ChooseStartingPlayerInputManager

java.lang.Object
it.polimi.ingsw.view.inputManagers.InputManager
it.polimi.ingsw.view.inputManagers.ChooseStartingPlayerInputManager

public class ChooseStartingPlayerInputManager
extends InputManager
  • Constructor Details

    • ChooseStartingPlayerInputManager

      public ChooseStartingPlayerInputManager​(Client client, java.util.List<java.lang.String> usernames)
      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 state

      This method expects an already trimmed input

      Specified by:
      manageInput in class InputManager
      Parameters:
      input - the user input