Zone Properties Panel
You can now click on a zone to view what resources are present
This commit is contained in:
parent
8986575c59
commit
ba681abeb6
10 changed files with 2475 additions and 352 deletions
|
|
@ -64,6 +64,7 @@ public class GameContext
|
|||
|
||||
var zoneData = Cache.Get<ZoneData>(zoneID);
|
||||
|
||||
// TODO: Associate planets with stored entities for planetary colonies
|
||||
var planetsData = zoneData.Planets.Select(id => Cache.Get<PlanetData>(id)).ToArray();
|
||||
var planetEntities = planetsData.ToDictionary(p => p,
|
||||
p => new OrbitalEntity(this, null, Enumerable.Empty<Gear>(), Enumerable.Empty<ItemInstance>(), p.Belt ? Cache.Get<OrbitData>(p.Orbit).Parent : p.Orbit));
|
||||
|
|
|
|||
Loading…
Reference in a new issue