Create MonsterCard

This commit is contained in:
henriquenakashima 2020-09-19 23:25:42 -04:00
parent 169210efbe
commit cce0b2891c
22 changed files with 203 additions and 27 deletions

View file

@ -42,6 +42,12 @@ public class BattleParticipant
return damage;
}
public int Heal(int amount) {
amount = Math.Min(this.maxHP - this.hp, amount);
this.hp += amount;
return amount;
}
public void AddBlock(int block) {
this.block += block;
}