2019-08-03 17:36:17 +02:00
|
|
|
|
using System;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace Saltosion.OneWeapon.AI {
|
|
|
|
|
[Serializable]
|
|
|
|
|
public abstract class BehaviourNode : MonoBehaviour {
|
|
|
|
|
/* Returns true if any action was taken. */
|
|
|
|
|
public abstract bool Execute(Enemy subject);
|
2019-08-04 15:44:44 +02:00
|
|
|
|
|
|
|
|
|
public abstract string GetExecutedName();
|
2019-08-03 17:36:17 +02:00
|
|
|
|
}
|
|
|
|
|
}
|