using System.Collections.Generic; using System.ComponentModel; using Godot; using Godot.Bridge; using Godot.Collections; using Godot.NativeInterop; [GlobalClass] [ScriptPath("res://Scripts/Actions/IBehaviour.cs")] public partial class IBehaviour : Resource { public enum Triggers { Always, Interact, Range } [Export(PropertyHint.None, "")] public Triggers trigger { get; set; } [Export(PropertyHint.None, "")] public Array needs { get; set; } [Export(PropertyHint.None, "")] public Array limit { get; set; } public NPC parent { get; set; } public virtual void Do() { } }