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.
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Creates a new item with the given attributes.
|
Returns the name of the item.
|
Returns the description of the item.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Sep 8 19:19:04 2011 | http://epydoc.sourceforge.net |