Module AM37

Class ReloadGameInputManager

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

public class ReloadGameInputManager
extends InputManager
  • Constructor Details

    • ReloadGameInputManager

      public ReloadGameInputManager​(Client client)
      Constructor to be called to handle an eventual game restore
      Parameters:
      client - the client to parse the
  • 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