Adventure Program - Object Diagram Cmput 114 Department of Computing Science University of Alberta ©Duane Szafron 1999
2 About This Document This document shows how to construct an object diagram of the rooms in the adventure program version 8. It starts with a human view and slowly transforms it to a computer representation.
©Duane Szafron Transformation
©Duane Szafron Transformation
©Duane Szafron Transformation
©Duane Szafron Transformation
©Duane Szafron Transformation numberdoors 3 numberdoors 2 numberdoors 5 numberdoors 4 numberdoors
©Duane Szafron Transformation numberdoors 3 numberdoors 2 numberdoors 5 numberdoors 4 numberdoors numberdoors 3 numberdoors 2 numberdoors 5 numberdoors 4 numberdoors room1 rom2 room1 rom2 room1 rom2 room1 rom2