Package parpg :: Package objects
[hide private]
[frames] | no frames]

Package objects

source code

Submodules [hide private]

Functions [hide private]
 
getAllObjects()
Returns a dictionary with the names of the concrete game object classes mapped to the classes themselves
source code
 
createObject(info, extra=None)
Called when we need to get an actual object.
source code
Variables [hide private]
  OBJECT_MODULES = [containers, actors, doors, items]
Function Details [hide private]

createObject(info, extra=None)

source code 

Called when we need to get an actual object.

Parameters:
  • info (dict) - stores information about the object we want to create
  • extra (dict) - stores additionally required attributes
Returns:
the object