container
index
d:\cruisecontrol\game-client-system\game\scripts\container.py

#####################################################
#    Drivers
#####################################################

 
Modules
       
GUI
SceneManager

 
Classes
       
Device

 
class Device
    This is a driver interfaces that handles lower level management of container device.
 
  Methods defined here:
__init__(self, entity)
setDriver(self, d)
Called by the Driver when it was created

Data and other attributes defined here:
Driver = <class container.Driver at 0x00E0DAB0>
device_type = 'container'
entity = None
machine_group = 'container'
x = 0
y = 0
z = 0

 
Functions
       
callback(trap, id, param)
Used by the system and systems other modules for communication
Where trap can be:
    TRAP_SYSTEM: is called by system
create()
First thing called
destroy()
Last thing called
gui(position=[], visiable=None)
This is function is called when the module is started and shut down.
It returns and sets gui specific information.
This is to remember where the gui is at on reload. Returns a dictionary
    {position:[x,y], visiable:True/False}
Is called before tests.
tests()
Used to run internal tests checking the module
Raises module.ModuleException