2023-05-26 17:42:50 -07:00
|
|
|
using Godot;
|
|
|
|
|
|
|
|
namespace SupaLidlGame.State.Weapon
|
|
|
|
{
|
|
|
|
public abstract partial class WeaponState : Node, IState<WeaponState>
|
|
|
|
{
|
|
|
|
public virtual WeaponState Use() => null;
|
|
|
|
|
2023-05-26 22:28:08 -07:00
|
|
|
public virtual WeaponState Deuse() => null;
|
|
|
|
|
2023-05-26 17:42:50 -07:00
|
|
|
public abstract IState<WeaponState> Enter(IState<WeaponState> previousState);
|
|
|
|
|
|
|
|
public virtual void Exit(IState<WeaponState> nextState)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public virtual IState<WeaponState> Process(double delta) => null;
|
|
|
|
}
|
|
|
|
}
|