Create MonsterCard

This commit is contained in:
henriquenakashima 2020-09-19 23:25:42 -04:00
parent 169210efbe
commit cce0b2891c
22 changed files with 203 additions and 27 deletions

View file

@ -0,0 +1,21 @@
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;}
}