public interface IDiscardController extends IController
Modifier and Type | Method and Description |
---|---|
void |
decreaseAmount(ResourceType resource)
This method is called when the user decreases the amount of the specified
resource.
|
void |
discard()
This method is called when the user clicks the discard button.
|
void |
increaseAmount(ResourceType resource)
This method is called when the user increases the amount of the specified
resource.
|
getView
void increaseAmount(ResourceType resource)
resource
- The resource that was increasedvoid decreaseAmount(ResourceType resource)
resource
- The resource that was decreasedvoid discard()