Class ActivateLeaderAction

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

public class ActivateLeaderAction
extends Action
An action to request to the model to activate a specific leader card of a specific player
  • Constructor Summary

    Constructors
    Constructor Description
    ActivateLeaderAction​(int leaderCardID)  
    ActivateLeaderAction​(java.lang.String username, int leaderCardID)  
  • Method Summary

    Modifier and Type Method Description
    PhaseType performAction​(IGameState gameState)
    Activate the specified leader card of the specified 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