implement tunnels

This commit is contained in:
2026-04-26 17:15:50 +02:00
parent 63c7df5b7f
commit 89005d6bb7
13 changed files with 819 additions and 18 deletions

View File

@@ -481,7 +481,9 @@ void GameWorldView::placeAtTile(QPoint tile)
}
}
}
else if (type == BuildingType::Splitter)
else if (type == BuildingType::Splitter
|| type == BuildingType::TunnelEntry
|| type == BuildingType::TunnelExit)
{
if (!m_sim->buildings().isTileOccupied(tile))
{