Added resources to the game and prepared scripts for later usage
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Godot;
|
||||
|
||||
public partial class GameData
|
||||
{
|
||||
public static Random rand = new Random(seed);
|
||||
public static Layer[] map;
|
||||
//Current layer the player wants to see
|
||||
public static int currentLayer = 0;
|
||||
@@ -13,6 +15,8 @@ public partial class GameData
|
||||
public static int maxRobotCount = 1000;
|
||||
public static List<Robot> robots = new List<Robot>();
|
||||
public static float robotSpeed = 5f;
|
||||
public static float tileWidth = 6;
|
||||
public static float tileHeight = 4;
|
||||
|
||||
//--- PLAYER ADJUSTABLE VALUES ---
|
||||
//Color used in primary objects (e.g. Robots)
|
||||
@@ -23,5 +27,7 @@ public partial class GameData
|
||||
public static int ruinSize = 10;
|
||||
//Width+Height of layers
|
||||
public static int layerSize = 20;
|
||||
//Seed used for all random generation except WFC
|
||||
public static int seed = 12345;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user