mixedcards/Assets/Battle/Effects/BlockEffect.cs
2020-09-20 11:58:35 -04:00

21 lines
517 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BlockEffect : IBattleEffect
{
private BattleParticipant target;
private int amount;
public BlockEffect(BattleParticipant target, int amount) {
this.target = target;
this.amount = amount;
}
public void Apply(IBattleEffectResolver resolver) {
resolver.AddBlock(this);
}
public BattleParticipant Target {get => this.target;}
public int Amount {get => this.amount;}
}