BloodAndGore/Assets/Scripts/AI/AIBehaviour.cs

14 lines
503 B
C#
Raw Normal View History

2019-08-03 17:36:17 +02:00
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 {
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);
}
}