removed a debug key and _Process in main isn't async anymore

This commit is contained in:
2022-11-13 02:38:39 +01:00
parent ba2653491e
commit 79a6e45bfb

View File

@@ -34,13 +34,9 @@ public class Player : KinematicBody2D
{ {
velocity.y += speed; velocity.y += speed;
} }
if (Input.IsKeyPressed((int)KeyList.F1))
{
GD.Print(strength);
}
} }
public override async void _Process(float delta) public override void _Process(float delta)
{ {
//debug the grid //debug the grid
var tilemap = GetNode<TileMap>("/root/Main/World/Foreground"); var tilemap = GetNode<TileMap>("/root/Main/World/Foreground");