BloodAndGore/Assets/Scripts/AI/AIBehaviour.cs

13 lines
468 B
C#
Raw Normal View History

2019-08-03 17:36:17 +02:00
using UnityEngine;
namespace Saltosion.OneWeapon.AI {
2019-08-04 15:44:44 +02:00
public abstract class AIBehaviour : MonoBehaviour {
public string CurrentStatus = "";
2019-08-03 18:14:47 +02:00
/* Returns whether or not Execute() should be called this frame */
2019-08-03 17:36:17 +02:00
public abstract bool CanBehave(Enemy subject);
/* Returns whether or not this was a blocking behaviour, ie. should the behaviour processing be stopped here */
public abstract bool Execute(Enemy subject);
}
}