Implement Molotov Cocktail
This commit is contained in:
parent
938a56231a
commit
a37adf2972
17 changed files with 255 additions and 20 deletions
16
Assets/Battle/Effects/ArmStepTriggerEffect.cs
Normal file
16
Assets/Battle/Effects/ArmStepTriggerEffect.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class ArmStepTriggerEffect : IBattleEffect
|
||||
{
|
||||
private StepTrigger trigger;
|
||||
|
||||
public ArmStepTriggerEffect(StepTrigger trigger) {
|
||||
this.trigger = trigger;
|
||||
}
|
||||
|
||||
public void Apply(IBattleEffectResolver resolver) {
|
||||
resolver.ArmStepTrigger(this.trigger);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue