net.sf.magicproject.action.handler
Interface RollBackAction

All Known Subinterfaces:
FollowAction
All Known Implementing Classes:
AbstractTarget, ChoosenTarget, Hop, ModifyTargetableRegister, MoveCard, PayMana, RealTarget, SilentTarget, SingletonTarget, Target

public interface RollBackAction

This is an action we can apply a rollback. A rollback action may not need a context.

Since:
0.90
Author:
Fabrice Daugan

Method Summary
 void rollback(ActionContextWrapper actionContext, ContextEventListener context, Ability ability)
          No generated event.
 

Method Detail

rollback

void rollback(ActionContextWrapper actionContext,
              ContextEventListener context,
              Ability ability)
No generated event. Rollback an action.

Parameters:
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.


Copyright © 2003-2007 Magic-Project. All Rights Reserved.