mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
11 lines
245 B
C#
11 lines
245 B
C#
|
|
using Godot;
|
|||
|
|
|
|||
|
|
namespace Cirno.Scripts.Components.Actors;
|
|||
|
|
|
|||
|
|
public partial class KeyboardInputProvider : InputProvider
|
|||
|
|
{
|
|||
|
|
public override Vector2 GetMovementInput()
|
|||
|
|
{
|
|||
|
|
return Input.GetVector("left", "right", "up", "down");
|
|||
|
|
}
|
|||
|
|
}
|