Package it.polimi.ingsw.model.leadercard
Class MarbleModifierBehaviour
java.lang.Object
it.polimi.ingsw.model.leadercard.CardBehaviour
it.polimi.ingsw.model.leadercard.MarbleModifierBehaviour
public class MarbleModifierBehaviour extends CardBehaviour
The CardBehaviour that represents the producing behaviour: a leader card with this behaviour will convert white market marbles
-
Constructor Summary
Constructors Constructor Description MarbleModifierBehaviour(ResourceType resourceOnWhite) -
Method Summary
Modifier and Type Method Description ResourceTypegetOnWhite()returns the resource white marble ResourceType produced by the LeaderCard ability.Methods inherited from class it.polimi.ingsw.model.leadercard.CardBehaviour
createStorage, discount, getProductionRequirement, getResourceToDiscount, getResToStore, produceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MarbleModifierBehaviour
-
-
Method Details
-
getOnWhite
Description copied from class:CardBehaviourreturns the resource white marble ResourceType produced by the LeaderCard ability. Returns null if the card doesn't have this ability- Overrides:
getOnWhitein classCardBehaviour- Returns:
- can be null if this leadercard doesn't convert white marbles
-