Removed unnecessary prints and added simple alarm sign sprite for later usage
This commit is contained in:
@@ -43,8 +43,6 @@ public partial class World : Node3D
|
||||
map = new Layer[ruinSize];
|
||||
GenerateWorld();
|
||||
|
||||
GD.Print("World generated");
|
||||
|
||||
HandleRenderData(BuildRenderData(0));
|
||||
}
|
||||
|
||||
@@ -96,7 +94,6 @@ public partial class World : Node3D
|
||||
|
||||
private void GenerateWorld()
|
||||
{
|
||||
DateTime now = DateTime.Now;
|
||||
for (int layer = 0; layer < ruinSize; layer++)
|
||||
{
|
||||
layerNode = layerPrefab.Instantiate<Layer>();
|
||||
@@ -104,7 +101,6 @@ public partial class World : Node3D
|
||||
layerNode.SetupLayer(layerSize, layer, tileMeshes);
|
||||
map[layer] = layerNode;
|
||||
}
|
||||
GD.Print("Time for map generation: " + (DateTime.Now - now).Seconds);
|
||||
}
|
||||
|
||||
private List<TileRenderData> BuildRenderData(int layerIndex)
|
||||
|
||||
Reference in New Issue
Block a user