2023-05-23 00:23:53 -07:00
|
|
|
using Godot;
|
|
|
|
|
|
|
|
namespace SupaLidlGame.State.Sword
|
|
|
|
{
|
|
|
|
public abstract partial class SwordState : Node, IState<SwordState>
|
|
|
|
{
|
|
|
|
public virtual SwordState Use() => null;
|
|
|
|
|
|
|
|
public abstract IState<SwordState> Enter(IState<SwordState> previousState);
|
|
|
|
|
2023-05-25 15:28:33 -07:00
|
|
|
public virtual void Exit(IState<SwordState> nextState)
|
2023-05-23 00:23:53 -07:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public virtual IState<SwordState> Process(double delta) => null;
|
|
|
|
}
|
|
|
|
}
|