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:
+2
-1
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user