Implement Whirlwind

This commit is contained in:
henriquenakashima 2020-09-24 00:24:49 -04:00
parent 9413ebee7e
commit 6a6f07689e
18 changed files with 330 additions and 52 deletions

View file

@ -9,7 +9,7 @@ public class BattleParticipant
public event BattleParticipantUpdateAction OnDeath;
public event BattleParticipantUpdateAction OnStatusChanged;
protected bool isHero;
protected TeamChoice team;
protected string displayName;
protected int hp;
protected int maxHP;
@ -17,8 +17,8 @@ public class BattleParticipant
protected bool dead;
protected Dictionary<BattleStatus, int> statuses;
public BattleParticipant(bool isHero) {
this.isHero = isHero;
public BattleParticipant(TeamChoice team) {
this.team = team;
this.statuses = new Dictionary<BattleStatus, int>();
}
@ -83,8 +83,8 @@ public class BattleParticipant
return this.block;
}
public bool IsHero() {
return this.isHero;
public TeamChoice Team {
get => this.team;
}
public void IncreaseMaxHP(int amount) {