Home | Trees | Indices | Help |
|
---|
|
object --+ | Action
The class Action
represents actions that a player make
take in a text adventure game. Action objects are constructed based on a
textual commands and are, in effect, parsers for such commands. An action
object is immutable after creation.
|
|||
|
|||
string |
|
||
Inherited from |
|
|||
Inherited from |
|
Creates a new action object based on the given command.
|
Causes the given player to take the action represented by this object.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Aug 29 13:29:54 2012 | http://epydoc.sourceforge.net |