2025-02-18 17:40:33 +01:00
|
|
|
|
using Godot;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Cirno.Scripts.Components.Actors;
|
|
|
|
|
|
|
|
|
|
|
|
public abstract partial class InputProvider : Node2D
|
|
|
|
|
|
{
|
|
|
|
|
|
public abstract Vector2 GetMovementInput();
|
2025-02-18 18:18:13 +01:00
|
|
|
|
public abstract Vector2 GetAimInput();
|
|
|
|
|
|
|
2025-02-25 17:29:24 +01:00
|
|
|
|
public abstract bool GetActionJustPressed(string action);
|
|
|
|
|
|
public abstract bool GetActionPressed(string action);
|
2025-02-28 22:49:55 +01:00
|
|
|
|
|
|
|
|
|
|
public abstract bool GetShootPressed();
|
|
|
|
|
|
public abstract bool GetUseJustPressed();
|
|
|
|
|
|
public abstract bool GetStrafePressed();
|
|
|
|
|
|
public abstract bool GetWeaponNextJustPressed();
|
|
|
|
|
|
public abstract bool GetWeaponPreviousJustPressed();
|
2025-02-18 17:40:33 +01:00
|
|
|
|
}
|