mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-03 19:15:55 +00:00
Bad tank movement
This commit is contained in:
parent
12f0062fe8
commit
90d2a95fa8
10 changed files with 514 additions and 8 deletions
11
Scripts/Components/Actors/KeyboardInputProvider.cs
Normal file
11
Scripts/Components/Actors/KeyboardInputProvider.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
using Godot;
|
||||
|
||||
namespace Cirno.Scripts.Components.Actors;
|
||||
|
||||
public partial class KeyboardInputProvider : InputProvider
|
||||
{
|
||||
public override Vector2 GetMovementInput()
|
||||
{
|
||||
return Input.GetVector("left", "right", "up", "down");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue