Class WhiteMarble

java.lang.Object
it.polimi.ingsw.model.market.MarketMarble
it.polimi.ingsw.model.market.WhiteMarble

public class WhiteMarble
extends MarketMarble
Represents a white market marble that can be converted, using a particular type of leader card, in a specific resource that can be added into warehouse or, in case it's faith, resulting in a step forward on track
  • Constructor Summary

    Constructors
    Constructor Description
    WhiteMarble()  
  • Method Summary

    Modifier and Type Method Description
    void addResource​(InterfacePlayerBoard playerBoard)
    Adds the resources owed to the player due to this marble
    void addResource​(InterfacePlayerBoard playerBoard, LeaderCard leaderCard)
    Adds the resources owed to the player due to this marble converted using the specified leader
    boolean equals​(java.lang.Object obj)  

    Methods inherited from class it.polimi.ingsw.model.market.MarketMarble

    getColor

    Methods inherited from class java.lang.Object

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