blindstation.game
index
/home/sable/test/blindstation-1.0.7/blindstation-1.0.7/test/blindstation/game.py

Game related classes

 
Modules
       
ConfigParser
blindstation
os
string
types
weakref
_xmlplus

 
Classes
       
__builtin__.object
Game

 
class Game(__builtin__.object)
    The base class to initialise the BlindStation
 
  Methods defined here:
__del__(self)
Game destructor
__init__(self, scene, stylesheet, sceneargs=[], videomode=0, lang='en')
Initialise the game.
The videomode is either:
0: for 640x480
1: for 800x600
2: for 1024x768
exit(self)
Quit the running Game
reInitBoard(self)
reinitialise the board subsystem
reInitBraille(self)
reinitialise the braille subsystem
run(self)
Process the events until game end
setAutorepeat(self, delay, interval)
Change the autorepeat time of keys.
delay: the delay before repeating
interval: the interval between 2 repetitions
set_fullscreen(self, full)
Set the platform in full screen mode

Data and other attributes defined here:
__dict__ = <dictproxy object>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'Game' objects>
list of weak references to the object (if defined)