Move orbital runtime seam onto typed orbit keys
This commit is contained in:
parent
cfc1ddac6d
commit
33f289dcac
10 changed files with 125 additions and 20 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in a new issue