added bloodthirst:number ability

This commit is contained in:
omegablast2002@yahoo.com
2010-08-26 16:05:48 +00:00
parent 3b9b79bb6e
commit aef30e6e0d
12 changed files with 63 additions and 7 deletions

View File

@@ -13,6 +13,7 @@ Player::Player(MTGPlayerCards * deck, string file, string fileSmall) : Damageabl
manaPool = NEW ManaPool(this);
canPutLandsIntoPlay = 1;
poisonCount = 0;
damageCount = 0;
mAvatar = NULL;
mAvatarTex = NULL;
type_as_damageable = DAMAGEABLE_PLAYER;
@@ -87,10 +88,16 @@ int Player::afterDamage(){
int Player::poisoned(){
return poisonCount;
}
int Player::damaged(){
return damageCount;
}
//Cleanup phase at the end of a turn
void Player::cleanupPhase(){
Player *p;
game->inPlay->cleanupPhase();
game->graveyard->cleanupPhase();
}
ostream& operator<<(ostream& out, const Player& p)