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);
|
||||
}
|
||||
}
|
||||
11
Assets/Battle/Effects/IncreaseMaxEnergyEffect.cs.meta
Normal file
11
Assets/Battle/Effects/IncreaseMaxEnergyEffect.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 1d7496e1bf53a764c9ae43a3806f6a1c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
Add table
Add a link
Reference in a new issue