mirror of
https://codeberg.org/Ikatono/TierMaker.git
synced 2025-10-28 20:45:35 -05:00
forgot to push for a while, got drag-and-drop mostly working
This commit is contained in:
23
InputSingleton.cs
Normal file
23
InputSingleton.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using Godot;
|
||||
|
||||
public class InputSingleton
|
||||
{
|
||||
private static InputSingleton _SingletonCache;
|
||||
public static InputSingleton Instance
|
||||
{
|
||||
get
|
||||
{
|
||||
_SingletonCache ??= new();
|
||||
return _SingletonCache;
|
||||
}
|
||||
}
|
||||
private InputSingleton()
|
||||
{
|
||||
|
||||
}
|
||||
public Node ClickedOn { get; set; }
|
||||
private void HandleMouseRelease()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user