Wednesday, 27 August 2025 01:54:42
This commit is contained in:
@@ -17,12 +17,16 @@ public partial class Main : Node
|
||||
_currentBattle.Start();
|
||||
}
|
||||
|
||||
public override void _Process(double DELTA_)
|
||||
{
|
||||
public override void _Process(double DELTA_)
|
||||
{
|
||||
if (Input.IsActionJustReleased("quit_game"))
|
||||
{
|
||||
GetTree().Quit();
|
||||
}
|
||||
if (Input.IsActionJustPressed("space"))
|
||||
{
|
||||
Globals.Instance._battleRunning = !Globals.Instance._battleRunning;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user