altering enemies into peg to open up for the future with hostile and friendly pegs. made some changes to the pathfinding. starting to add a mouse handler that will more easily handle single and double clicks, and holds. Enemy controller becomes peg controller and will handle all peg interactions

This commit is contained in:
2026-06-25 16:31:13 -04:00
parent e3cb4ef7ac
commit 37da9a4e84
23 changed files with 428 additions and 284 deletions
+2 -1
View File
@@ -1,9 +1,10 @@
using Godot;
using System;
public partial class Globals : Node
public partial class Globals : Node2D
{
public static Random _rng = new();
public static float _gravity = (float)ProjectSettings.GetSetting("physics/2d/default_gravity"), _drag = (float)ProjectSettings.GetSetting("physics/2d/default_linear_damp");
public static MouseHandler _mouse;
}