using System.Collections; using System.Collections.Generic; using UnityEngine; public class HealEffect : IBattleEffect { private BattleParticipant target; private int amount; public HealEffect(BattleParticipant target, int amount) { this.target = target; this.amount = amount; } public void Apply(IBattleEffectResolver resolver) { resolver.Heal(this); } public BattleParticipant Target {get => this.target;} public int Amount {get => this.amount;} }