From 55bbfe2966a282ce6cb9c6c59b5ea0232071e924 Mon Sep 17 00:00:00 2001 From: Jan Mrna Date: Tue, 4 Nov 2025 20:06:33 +0100 Subject: [PATCH] Remove entities --- cpp/src/pathfindingdemo.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cpp/src/pathfindingdemo.cpp b/cpp/src/pathfindingdemo.cpp index 3897639..a882b40 100644 --- a/cpp/src/pathfindingdemo.cpp +++ b/cpp/src/pathfindingdemo.cpp @@ -62,14 +62,6 @@ void PathFindingDemo::CreateMap() { auto player2 = std::make_shared(); player2->SetPosition(m_Map.TileToWorld(TilePos{50, 20})); AddEntity(player2); - - for (int i = 0; i < 1; i++) { - for (int j = 0; j < 10; j++) { - auto p = std::make_shared(); - p->SetPosition(m_Map.TileToWorld(TilePos{10 + 5 * i, 40 + 5 * j})); - AddEntity(p); - } - } } WorldPos PathFindingDemo::GetRandomPosition() const {