Removed unnecessary prints and added simple alarm sign sprite for later usage

This commit is contained in:
=
2026-04-26 17:17:23 +02:00
parent d2c788c826
commit 677725791a
8 changed files with 101 additions and 43 deletions
-4
View File
@@ -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)