Move orbital runtime seam onto typed orbit keys

This commit is contained in:
Meta Vens 2026-06-16 16:07:20 +01:00
commit 33f289dcac
10 changed files with 125 additions and 20 deletions

View file

@ -244,6 +244,11 @@ public class Zone
return float2.zero;
}
public float2 GetOrbitVelocity(string orbitKey)
{
return GetOrbitVelocity(ParseOrbitGuid(orbitKey));
}
public int NearestAsteroid(Guid planetDataID, float2 position)
{
var belt = AsteroidBelts[planetDataID];