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:
@@ -0,0 +1,18 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
public partial class MouseHandler : Node
|
||||
{
|
||||
public enum ClickType
|
||||
{
|
||||
LEFT_CLICK,
|
||||
MIDDLE_CLICK,
|
||||
RIGHT_CLICK,
|
||||
LEFT_HOLD,
|
||||
MIDDLE_HOLD,
|
||||
RIGHT_HOLD,
|
||||
LEFT_DOUBLE,
|
||||
MIDDLE_DOUBLE,
|
||||
RIGHT_DOUBLE
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user