using System.Collections; using System.Collections.Generic; using UnityEngine; public class IncreaseMaxEnergyEffect : IBattleEffect { private int amount; public IncreaseMaxEnergyEffect(int amount) { this.amount = amount; } public void Apply(IBattleEffectResolver resolver) { resolver.IncreaseHeroMaxEnergy(this); } public int Amount {get => this.amount;} }