Cleaned up project with better structure.
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Godot;
|
||||
|
||||
public partial class GameData
|
||||
{
|
||||
public static bool debugMode = false;
|
||||
public static Random rand = new Random(seed);
|
||||
public static Layer[] map;
|
||||
|
||||
public static int currentLayer = 0;
|
||||
public static int visibleLayer = 0;
|
||||
public static int lowestLayer = 0;
|
||||
|
||||
public static bool canMove = true;
|
||||
public static int maxRobotCount = 1000;
|
||||
public static List<Robot> robots = new List<Robot>();
|
||||
public static float robotSpeed = 20f;
|
||||
public static float tileWidth = 6;
|
||||
public static float tileHeight = 4;
|
||||
public static SortedDictionary<string, ItemData> availableItems = ResourceLoader.LoadItems();
|
||||
public static Dictionary<string, Research> availableResearch = ResourceLoader.LoadResearch();
|
||||
|
||||
public static Color primaryColor = new Color("#276ac2");
|
||||
public static Color lightColor = new Color("#7efff5");
|
||||
|
||||
public static int ruinSize = 10;
|
||||
public static int layerSize = 20;
|
||||
public static int seed = 12345;
|
||||
|
||||
public static Inventory inventory = new Inventory();
|
||||
}
|
||||
Reference in New Issue
Block a user