public interface IDevCardController extends IController
Modifier and Type | Method and Description |
---|---|
void |
buyCard()
This method is called when the user buys a development card.
|
void |
cancelBuyCard()
This method is called when the user cancels out of buying a development
card.
|
void |
cancelPlayCard()
This method is called when the user cancels out of playing a development
card.
|
void |
playMonopolyCard(ResourceType resource)
This method is called when the user plays a monopoly development card.
|
void |
playMonumentCard()
This method is called when the user plays a monument development card.
|
void |
playRoadBuildCard()
This method is called when the user plays a road build development card.
|
void |
playSoldierCard()
This method is called when the user plays a soldier development card.
|
void |
playYearOfPlentyCard(ResourceType resource1,
ResourceType resource2)
This method is called when the user plays a year of plenty development
card.
|
void |
startBuyCard()
This method displays the "buy dev card" view.
|
void |
startPlayCard()
This method displays the "play dev card" view.
|
getView
void startBuyCard()
void cancelBuyCard()
void buyCard()
void startPlayCard()
void cancelPlayCard()
void playMonopolyCard(ResourceType resource)
resource
- The resource to take from other playersvoid playMonumentCard()
void playRoadBuildCard()
void playSoldierCard()
void playYearOfPlentyCard(ResourceType resource1, ResourceType resource2)
resource1
- The first resource to gainresource2
- The second resource to gain