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

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a520366dc6140c4499e2c3f09ded6ee8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: