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