Files
wagic/projects/mtg/src/WEvent.cpp
T
wagic.the.homebrew@gmail.com 34c139a15d Erwan
-fixed bugs with lifelink
2009-04-05 09:01:31 +00:00

18 lines
449 B
C++

#include "../include/WEvent.h"
#include "../include/MTGCardInstance.h"
#include "../include/MTGGameZones.h"
#include "../include/Damage.h"
WEvent::WEvent(int _type){
type=_type;
}
WEventZoneChange::WEventZoneChange(MTGCardInstance * _card, MTGGameZone * _from, MTGGameZone *_to):WEvent(CHANGE_ZONE){
card = _card;
from = _from;
to = _to;
}
WEventDamage::WEventDamage(Damage *_damage):WEvent(DAMAGE){
damage = _damage;
}