net.sf.magicproject.event
Interface RegisterableEvent

All Known Implementing Classes:
ArrangedZone, AssignedDamage, AttachedEvent, BecomeTapped, BecomeUnTapped, BeforePhase, BeginningPhase, CanICast, Casting, DeclaredAttacking, DeclaredBlocking, Detached, EndOfPhase, FacedDown, FacedUp, GivenMana, LethalDamaged, LoseGame, MEventListener, ModifiedController, ModifiedIdCard, ModifiedIdColor, ModifiedOwner, ModifiedProperty, ModifiedPropertyIntersection, ModifiedRegister, ModifiedRegisterRange, MovedCard, Targeted, TriggeredEvent, UncaughtException, UpdatedLife, UpdateToughness

public interface RegisterableEvent

Author:
Fabrice Daugan

Method Summary
 void registerToManager(Ability ability)
          register this event to the event manager
 void removeFromManager(Ability ability)
          remove from the manager this event if doesn't match with the new context
 

Method Detail

removeFromManager

void removeFromManager(Ability ability)
remove from the manager this event if doesn't match with the new context

Parameters:
ability - owning this event

registerToManager

void registerToManager(Ability ability)
register this event to the event manager

Parameters:
ability - owning this event


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