* Switch to RTTI.
This commit is contained in:
jean.chalard
2009-06-13 06:12:53 +00:00
parent 35214a2f7e
commit 3e12e7d630
3 changed files with 15 additions and 13 deletions

View File

@@ -13,6 +13,7 @@ public:
};
int type;
WEvent(int _type);
virtual ~WEvent() {};
};
class WEventZoneChange: public WEvent{
@@ -21,6 +22,7 @@ public:
MTGGameZone * from;
MTGGameZone * to;
WEventZoneChange(MTGCardInstance * _card, MTGGameZone * _from, MTGGameZone *_to);
virtual ~WEventZoneChange() {};
};
@@ -30,4 +32,4 @@ public:
WEventDamage(Damage * _damage);
};
#endif
#endif