Class PlayerDisconnectionAction

java.lang.Object
it.polimi.ingsw.controller.action.Action
it.polimi.ingsw.controller.action.PlayerDisconnectionAction

public class PlayerDisconnectionAction
extends Action
An action to notify the model that a player is no longer connected with the server
  • Constructor Summary

    Constructors
    Constructor Description
    PlayerDisconnectionAction​(java.lang.String username)  
  • Method Summary

    Modifier and Type Method Description
    PhaseType performAction​(IGameState gameState)
    Disconnect a Player.

    Methods inherited from class it.polimi.ingsw.controller.action.Action

    getUsername, isCurrentPlayer, setUsername

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait