Display power buffs
This commit is contained in:
parent
515602b670
commit
034e6beca6
8 changed files with 86 additions and 25 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue