The Cave System Object(s)

The cave system is the lynchpin of this system of objects because all the simple objects are situated in and/or move through it. It is also the most complex of the objects because it is a compound object: the cave system consists of multiple rooms connected by multiple tunnels. This means that it will have to be a container type of some sort.

The cave system contains 20 Room objects which as objects have their own attributes and methods: