Implement Whirlwind

This commit is contained in:
henriquenakashima 2020-09-24 00:24:49 -04:00
parent 9413ebee7e
commit 6a6f07689e
18 changed files with 330 additions and 52 deletions

View file

@ -0,0 +1,23 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MassDamageEffect : IBattleEffect
{
private TeamChoice team;
private int amount;
private int amountDealt;
public MassDamageEffect(TeamChoice team, int amount) {
this.team = team;
this.amount = amount;
}
public void Apply(IBattleEffectResolver resolver) {
this.amountDealt = resolver.DealMassDamage(this);
}
public TeamChoice Team {get => this.team;}
public int Amount {get => this.amount;}
public int AmountDealt {get => this.amountDealt;}
}