BloodAndGore/Assets/Scripts/AI/BehaviourNode.cs

15 lines
363 B
C#
Raw Normal View History

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]
[Obsolete]
2019-08-03 17:36:17 +02:00
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
}
}