This commit is contained in:
2026-05-22 20:45:10 +02:00
parent ca07cbaf0e
commit 9d20048705
7 changed files with 3 additions and 67 deletions

View File

@@ -1,7 +1,7 @@
#pragma once
// Canonical reference to every targetable entity in the simulation: ships,
// scrap drops, and buildings (including HQ and defence stations).
// Stable id for factory buildings, construction sites, and belts.
// Ships, stations, scrap, and the HQ proxy use entt::entity instead.
// Ids are allocated centrally by the Simulation, strictly increasing, never
// reused. 0 is reserved as the invalid id.
using EntityId = long long;