I am designing a sci-fi game and need to create a "map" of the galaxy (a 8x8 grid) that contains space objects (stars, planets, spaceships, etc) some of these objects contain no more than a name property, but some like the spaceships are more complex having methods as well as properties.
What I am confused about is that a collection holds a list of a-like objects, so it could hold a list of planets or stars but not both.
So, how can I create a Galaxy collection containing all the different types of space objects?
I am not looking for code just some advice on how to implement.
Thanks,
Lee.
itlee. MCP\Analyst\Programmer\SQL\.NET\VB\C#
What I am confused about is that a collection holds a list of a-like objects, so it could hold a list of planets or stars but not both.
So, how can I create a Galaxy collection containing all the different types of space objects?
I am not looking for code just some advice on how to implement.
Thanks,
Lee.
itlee. MCP\Analyst\Programmer\SQL\.NET\VB\C#