21 lines
513 B
C#
21 lines
513 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using UnityEngine;
|
|
|
|
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;}
|
|
}
|