- moved all "loseLife/gainLife" duplicated code into 1 Player method
This commit is contained in:
wagic.the.homebrew@gmail.com
2011-01-23 06:59:00 +00:00
parent 14f2e9b0f2
commit f63aa379e7
9 changed files with 88 additions and 92 deletions

View File

@@ -21,8 +21,8 @@ WEventDamage::WEventDamage(Damage *damage) :
{
}
WEventLife::WEventLife(Player * player,int amount,int Ltype) :
WEvent(), player(player),amount(amount), Ltype(Ltype)
WEventLife::WEventLife(Player * player,int amount) :
WEvent(), player(player),amount(amount)
{
}