ajamesVISD / AdventureGalley

A world to explore. An ongoing project of students at Vashon Island High School.
0 stars 9 forks source link

Create Items with descriptions that change #30

Open ajamesVISD opened 6 years ago

ajamesVISD commented 6 years ago

Create some classes that extend the Item class.

When the user examines the item of this class, the user gets the item's description.

That description may be different depending on when the user gets it.

Examples: Look at the book class. If the user types "vandalize book" the book's description changes. A Clock would return the current time with its description. A Magic 8-Ball could return random messages in its description.