Tuesday, March 2, 2010

Composition and Relationships



Here is a basic example of composition and relationships. The player can wield the object known as "Shotgun". The "Shotgun" is also a child object or to be put more clearly, inherits the properties of the object "Weapon".

No comments:

Post a Comment