Implement Meditate

This commit is contained in:
henriquenakashima 2020-09-22 01:09:20 -04:00
parent 03ca23d484
commit ceb46f98b2
14 changed files with 207 additions and 28 deletions

View file

@ -0,0 +1,26 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public enum TeamChoice {
Heroes,
Monsters,
}
public class DrawCardsEffect : IBattleEffect
{
private int amount;
private TeamChoice team;
public DrawCardsEffect(int amount, TeamChoice team) {
this.amount = amount;
this.team = team;
}
public void Apply(IBattleEffectResolver resolver) {
resolver.DrawCards(this);
}
public int Amount {get => this.amount;}
public TeamChoice Team {get => this.team;}
}