-fixed bugs with lifelink
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-04-05 09:01:31 +00:00
parent d5cf601ec7
commit 34c139a15d
10 changed files with 101 additions and 38 deletions

View File

@@ -3,11 +3,13 @@
class MTGCardInstance;
class MTGGameZone;
class Damage;
class WEvent{
public:
enum{
CHANGE_ZONE = 1,
DAMAGE = 2,
};
int type;
WEvent(int _type);
@@ -21,4 +23,11 @@ public:
WEventZoneChange(MTGCardInstance * _card, MTGGameZone * _from, MTGGameZone *_to);
};
class WEventDamage: public WEvent{
public:
Damage * damage;
WEventDamage(Damage * _damage);
};
#endif