using System; using Goap.Agent.Core; using Goap.Agent.Runtime; namespace Goap.Runtime { [Obsolete("Use GoapActionBase instead of ActionBase")] public abstract class ActionBase : GoapActionBase where TActionData : IActionData, new() { public override IActionRunState Perform(IMonoAgent agent, TActionData data, IActionContext context) { return this.Perform(agent, data, context as ActionContext); } public abstract ActionRunState Perform(IMonoAgent agent, TActionData data, ActionContext context); } }