30 lines
736 B
C#
30 lines
736 B
C#
|
|
|
|
using UnityEngine;
|
|
|
|
namespace STRIPS
|
|
{
|
|
public interface IStripsActionResolver
|
|
{
|
|
|
|
}
|
|
|
|
[System.Serializable]
|
|
public abstract class AStripsActionResolver : MonoBehaviour {
|
|
public enum StripsActionResolverAction { MoveTo, Attack, Hide, Roar, LookAt, Idle }
|
|
|
|
public virtual void MoveTo(Vector3 position) { }
|
|
public virtual void MoveTo() { }
|
|
|
|
public virtual void Attack() { }
|
|
public virtual void Hide() { }
|
|
public virtual void Roar() { }
|
|
public virtual void LookAt(Vector3 position) { }
|
|
public virtual void LookAt() { }
|
|
public virtual void Idle() { }
|
|
|
|
public abstract bool Collect(ref StripsVariableMapping.PackageMapping package);
|
|
|
|
}
|
|
}
|