Module AM37

Class LobbyInputManager

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

public class LobbyInputManager
extends InputManager
Handles inputs regarding logging onto the server and managing lobbies
  • Field Summary

    Fields inherited from class it.polimi.ingsw.view.inputManagers.InputManager

    client, inputCountdown, isWaitingForInput, view
  • Constructor Summary

    Constructors 
    Constructor Description
    LobbyInputManager​(Client client, java.util.Map<java.lang.String,​java.util.List<java.lang.String>> lobbiesAvailable, MessageManagerParser messageParser, boolean isJoining)  
  • Method Summary

    Modifier and Type Method Description
    void manageInput​(java.lang.String input)
    Determines how to handle the received input based on the internal state

    Methods inherited from class it.polimi.ingsw.view.inputManagers.InputManager

    cleanInput, setWaitingForInput, startTimer, stopTimer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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