SupaLidlGame/State/Weapon/SwordStateMachine.cs

28 lines
476 B
C#
Raw Normal View History

2023-05-23 00:23:53 -07:00
using Godot;
2023-05-26 17:42:50 -07:00
namespace SupaLidlGame.State.Weapon
2023-05-23 00:23:53 -07:00
{
2023-05-26 17:42:50 -07:00
}
2023-05-23 00:23:53 -07:00
2023-05-26 17:42:50 -07:00
/*
2023-05-23 00:23:53 -07:00
public void Use()
{
var state = CurrentState.Use();
if (state is not null)
{
ChangeState(state);
}
}
public void Process(double delta)
{
var state = CurrentState.Process(delta);
if (state is SwordState s)
{
ChangeState(s);
}
}
2023-05-26 17:42:50 -07:00
*/