Friday, 15 August 2025 23:08:08

This commit is contained in:
2025-08-15 23:08:10 -04:00
parent 8a2ad448fd
commit a47a6331ee
129 changed files with 515 additions and 2535 deletions

View File

@@ -5,17 +5,19 @@ using System.Collections.Generic;
public partial class Globals : Node
{
public static Globals Instance;
public bool _anyMovement = false;
public Viewport _viewport;
public Vector2 _screenSize;
public Vector2 _screenCenter;
public Battle _currentBattle;
public Random _random = new();
public PackedScene _workerScene = ResourceLoader.Load<PackedScene>("res://Gameplay/worker.tscn");
public PackedScene _tchotchkeScene = ResourceLoader.Load<PackedScene>("res://Gameplay/tchotchke.tscn");
public override void _Ready()
{
Instance = this;
_viewport = GetViewport();
_screenSize = _viewport.GetVisibleRect().Size;
_screenCenter = _screenSize / 2;
}