21 lines
495 B
C#
21 lines
495 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class MassBlockEffect : IBattleEffect
|
|
{
|
|
private TeamChoice team;
|
|
private int amount;
|
|
|
|
public MassBlockEffect(TeamChoice team, int amount) {
|
|
this.team = team;
|
|
this.amount = amount;
|
|
}
|
|
|
|
public void Apply(IBattleEffectResolver resolver) {
|
|
resolver.AddMassBlock(this);
|
|
}
|
|
|
|
public TeamChoice Team {get => this.team;}
|
|
public int Amount {get => this.amount;}
|
|
}
|