Class InsertMarbleAction

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

public class InsertMarbleAction
extends Action
An action to request to the model to insert a specific marble obtained after shopping the market into warehouse
  • Constructor Summary

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

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