I am putting together a very simple 2d game. I have a planet class and the game creates multiple planets using an array. My problem is that I want each planet to have multiple moons, and the location/behaviors of the moons relate to variables contained within their specific parent planet. I am putting together a very simple 2d game. I