Implement BattleEffects, add Thunderstorm
This commit is contained in:
parent
fc427bd276
commit
00448fe919
20 changed files with 215 additions and 18 deletions
16
Assets/Battle/Effects/IncreaseMaxEnergyEffect.cs
Normal file
16
Assets/Battle/Effects/IncreaseMaxEnergyEffect.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class IncreaseMaxEnergyEffect : IBattleEffect
|
||||
{
|
||||
private int delta;
|
||||
|
||||
public IncreaseMaxEnergyEffect(int delta) {
|
||||
this.delta = delta;
|
||||
}
|
||||
|
||||
public void Apply(IBattleEffectResolver bc) {
|
||||
bc.IncreaseMaxEnergy(this.delta);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue