Implement emotions
This commit is contained in:
parent
08c395cf51
commit
11df4f1164
25 changed files with 369 additions and 40 deletions
21
Assets/Battle/Effects/DropEmotionEffect.cs
Normal file
21
Assets/Battle/Effects/DropEmotionEffect.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class DropEmotionEffect : IBattleEffect
|
||||
{
|
||||
private int amount;
|
||||
private TeamChoice team;
|
||||
|
||||
public DropEmotionEffect(int amount, TeamChoice team) {
|
||||
this.amount = amount;
|
||||
this.team = team;
|
||||
}
|
||||
|
||||
public void Apply(IBattleEffectResolver resolver) {
|
||||
resolver.DropEmotion(this);
|
||||
}
|
||||
|
||||
public int Amount {get => this.amount;}
|
||||
public TeamChoice Team {get => this.team;}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue