BloodAndGore/Assets/Scripts/AI/BehaviourNode.cs

14 lines
348 B
C#

using System;
using UnityEngine;
using Saltosion.OneWeapon.Enemies;
namespace Saltosion.OneWeapon.AI {
[Serializable]
public abstract class BehaviourNode : MonoBehaviour {
/* Returns true if any action was taken. */
public abstract bool Execute(Enemy subject);
public abstract string GetExecutedName();
}
}