11 lines
424 B
C#
11 lines
424 B
C#
|
using UnityEngine;
|
|||
|
|
|||
|
namespace Saltosion.OneWeapon.AI {
|
|||
|
public abstract class Behaviour : MonoBehaviour {
|
|||
|
/* Returns whether or not Exectute() should be called this frame */
|
|||
|
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);
|
|||
|
}
|
|||
|
}
|