SupaLidlGame/State/NPC/NPCState.cs

19 lines
403 B
C#
Raw Normal View History

2023-07-13 23:46:58 -07:00
using Godot;
namespace SupaLidlGame.State.NPC;
public abstract partial class NPCState : Node, IState<NPCState>
{
[Export]
public SupaLidlGame.Characters.NPC NPC { get; set; }
public abstract IState<NPCState> Enter(IState<NPCState> previousState);
public virtual void Exit(IState<NPCState> nextState)
{
}
public virtual IState<NPCState> Process(double delta) => null;
}