Implement emotions
This commit is contained in:
parent
08c395cf51
commit
11df4f1164
25 changed files with 369 additions and 40 deletions
|
|
@ -5,9 +5,11 @@ using UnityEngine;
|
|||
public class IncreaseMaxEnergyEffect : IBattleEffect
|
||||
{
|
||||
private int amount;
|
||||
private bool immediate;
|
||||
|
||||
public IncreaseMaxEnergyEffect(int amount) {
|
||||
public IncreaseMaxEnergyEffect(int amount, bool immediate) {
|
||||
this.amount = amount;
|
||||
this.immediate = immediate;
|
||||
}
|
||||
|
||||
public void Apply(IBattleEffectResolver resolver) {
|
||||
|
|
@ -15,4 +17,5 @@ public class IncreaseMaxEnergyEffect : IBattleEffect
|
|||
}
|
||||
|
||||
public int Amount {get => this.amount;}
|
||||
public bool Immediate {get => this.immediate;}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue