|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InitAction
An init action is an action played during the initialization phase of an ability, and also replayed during the replay phase.
Method Summary | |
---|---|
boolean |
init(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
No generated event. |
boolean |
replay(ActionContextWrapper actionContext,
ContextEventListener context,
Ability ability)
Generate event associated to this action. |
Method Detail |
---|
boolean init(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
actionContext
- the context containing data saved by this action during the
'choose" proceess.ability
- is the ability owning this test. The card component of this
ability should correspond to the card owning this test too.context
- is the context attached to this action.
boolean replay(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
replay
in interface Replayable
actionContext
- the context containing data saved by this action during the
'choose" proceess.ability
- is the ability owning this test. The card component of this
ability should correspond to the card owning this test too.context
- is the context attached to this action.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |