gummworld2.context (version $Id: context.py 407 2013-08-12 15:11:30Z stabbingfinger@gmail.com $)
index
c:\cygwin64\home\bw\dev\python\dist\gummworld2\gamelib\gummworld2\context.py

context.py - A simple context stack for Gummworld2.

 
Classes
       
__builtin__.object
Context

 
class Context(__builtin__.object)
     Methods defined here:
__init__(self)
draw(self, dt)
Refresh the screen
enter(self)
Called when this context is pushed onto the stack.
exit(self)
Called when this context is popped off the stack.
resume(self)
Called when another context is popped off the top of this one.
suspend(self)
Called when another context is pushed on top of this one.
update(self, dt)
Called once per frame

Static methods defined here:
pop(n=1)
push(c, do_enter=True)
top()

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
pop(n=1)
push(c, do_enter=True)
top()

 
Data
        __all__ = ['Context', 'push', 'pop', 'top', 'cstack']
__author__ = 'Gummbum, (c) 2011-2014'
__version__ = '$Id: context.py 407 2013-08-12 15:11:30Z stabbingfinger@gmail.com $'
cstack = []

 
Author
        Gummbum, (c) 2011-2014