2019-08-03 17:36:17 +02:00
|
|
|
|
using System;
|
|
|
|
|
using UnityEngine;
|
2019-08-14 16:17:48 +02:00
|
|
|
|
using Saltosion.OneWeapon.Enemies;
|
2019-08-03 17:36:17 +02:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
}
|