AbilityEffect.cs (550B)
1 using Slimecing.Characters; 2 using UnityEngine; 3 4 namespace Slimecing.Abilities.AbilityEffects 5 { 6 public abstract class AbilityEffect 7 { 8 public abstract bool DoesUpdate(); 9 10 private AbilityUser aUser; 11 private Ability ability; 12 13 public AbilityEffect(Ability ability, AbilityUser aUser) 14 { 15 this.ability = ability; 16 this.aUser = aUser; 17 } 18 19 public abstract void Activate(); 20 public virtual void DoUpdate() {} 21 public abstract void End(); 22 } 23 }