mixedcards/Assets/Battle/Effects/IncreaseMaxEnergyEffect.cs
2020-09-26 18:24:46 -04:00

21 lines
535 B
C#

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;}
}