Trees | Indices | Help |
---|
|
A GameContext corresponds to a geographic location and is a collection of GameObjects, GameActors and state attributes. They exist in higherarchical relationships (e.g. kingdom, village, buiding, room).
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
create a new GameObject
|
return the value of an attribute Differs from base class because calls flow up the chain of parents if this instance does not have the requested attribute.
|
return a list of possible actions in this context This base class merely passes that list up to our parent.
|
receive and process the effects of an action The only verb supported by this base class is SEARCH, which it passes on to any hidden (RESISTANCE.SEARCH > 0) object in this context.
|
|
Add an player character to this context
|
Remove a player character from this context
|
Add an NPC to this context
|
Remove a non-player character from this context
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Aug 25 14:53:21 2021 | http://epydoc.sourceforge.net |