internal void RemoveSystem(Process system) { systemIds.Remove(system); }
internal void SetSystemId(Process system, int id) { systemIds[system] = id; }
internal void RemoveFromSystems() { Process[] systemsCopy = new Process[systemIds.Count]; systemIds.Keys.CopyTo(systemsCopy, 0); foreach (Process system in systemsCopy) { system.RemoveEntity(systemIds[system], UniqueId); RemoveSystem(system); } }