public void Refresh(IGalaxy galaxy) { if (SelectedObject != null) { SelectedObject = galaxy.GetSpaceObject(SelectedObject.ObjectId); Objects = SelectedObject != null ? galaxy.GetSpaceObjectsAt(SelectedObject.Position).ToArray() : null; OnChange(); } }