|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WaitingAbility
Method Summary | |
---|---|
java.util.List<Ability> |
abilitiesOf(MCard card)
Return activated abilities of the specified card. |
java.util.List<Ability> |
advancedAbilitiesOf(MCard card)
Return activated advanced abilities of the specified card. |
boolean |
clickOn(Ability ability)
Called to specify the triggered card chosen for the current action by the handed player |
void |
finished()
Called when this action is finished (aborted or completed). |
boolean |
manualSkip()
Called by the handed player when he/she wants to skip/abort this action. |
boolean |
succeedClickOn(Ability ability)
This function should be called by the 'clickOn' caller in case of the specified ability has been handled during the checking validity of this click in the clickOn(Ability) function. |
Method Detail |
---|
boolean clickOn(Ability ability)
ability
- the clicked card by the handed player for the current action
java.util.List<Ability> abilitiesOf(MCard card)
card
- the requesting card the abilities will be listed from.
java.util.List<Ability> advancedAbilitiesOf(MCard card)
card
- the requesting card the abilities will be listed from.
boolean succeedClickOn(Ability ability)
clickOn(Ability)
function.
ability
- the ability that was clicked and successfuly handled by the
clickOn(Ability)
function.
clickOn(Ability)
void finished()
Waiting
finished
in interface Waiting
boolean manualSkip()
Waiting
manualSkip
in interface Waiting
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |