Display power buffs

This commit is contained in:
henriquenakashima 2020-10-10 21:49:04 -04:00
parent 515602b670
commit 034e6beca6
8 changed files with 86 additions and 25 deletions

View file

@ -9,6 +9,7 @@ public class BattleParticipant
public event BattleParticipantUpdateAction OnHit;
public event BattleParticipantUpdateAction OnDeath;
public event BattleParticipantUpdateAction OnStatusChanged;
public event BattleParticipantUpdateAction OnBuffsChanged;
protected TeamChoice team;
protected string displayName;
@ -185,4 +186,10 @@ public class BattleParticipant
this.OnStatusChanged(this);
}
}
public void TriggerOnBuffsChanged() {
if (this.OnBuffsChanged != null) {
this.OnBuffsChanged(this);
}
}
}