- Player's persona in the game
- This is the interface between the player and the game.
The player inherits from Actor.
However, the player prompts the user for the next action,
instead of simply reacting as other actors do. (?)
Has Tell and Act methods.
- class of the player
- i.e., the Actor interfaced to the terminal
Methods
|
|
Act
Tell
__init__
|
|
Act
|
Act ( self )
Act on commands in scheduler, or prompt --
If the player's persona already has commands to follow,
it does, otherwise it asks what to do next.
|
|
Tell
|
Tell ( self, pWhat )
Get information from (actual) player to Player . (?)
|
|
__init__
|
__init__ ( self, pNames='' )
|
|