Implement OilOfSharpness

This commit is contained in:
henriquenakashima 2020-10-09 01:43:37 -04:00
parent 2190070fee
commit 31cb8fe4c0
45 changed files with 604 additions and 21 deletions

View file

@ -0,0 +1,27 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BuffParticipantEffect : IBattleEffect
{
private BattleParticipant mParticipant;
private BuffType mType;
private BuffDuration mDuration;
private int mAmount;
public BuffParticipantEffect(BattleParticipant participant, BuffType type, int amount, BuffDuration duration) {
mParticipant = participant;
mType = type;
mAmount = amount;
mDuration = duration;
}
public void Apply(IBattleEffectResolver resolver) {
resolver.BuffParticipant(this);
}
public BattleParticipant Participant {get => mParticipant;}
public BuffType Type {get => mType;}
public BuffDuration Duration {get => mDuration;}
public int Amount {get => mAmount;}
}