Home | Trees | Indices | Help |
|
---|
|
object --+ | Item
The class Item
represents items in a text adventure game.
Each item has a name and a longer description.
Note: it is assumed (but not enforced by this class) that items have unique names. That is, no two items in a game world have the same name.
|
|||
|
|||
string |
|
||
string |
|
||
Inherited from |
|
|||
Inherited from |
|
Creates a new item with the given attributes.
|
Returns the name of the item.
|
Returns the description of the item.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Aug 29 13:29:54 2012 | http://epydoc.sourceforge.net |