Home | Trees | Index | Help |
---|
Package pygsear :: Module Game :: Class TwistedGame |
|
GameLooper
--+ |Game
--+ | TwistedGame
Method Summary | |
---|---|
__init__(self,
window,
reactor,
delay)
| |
checkGameOver(self)
| |
The main twisted game loop. | |
Inherited from Game | |
Bring up the configuration screen | |
Stop capturing all input | |
Show a Game Over message. | |
Capture all mouse and keyboard input | |
Hide the mouse cursor | |
Further initialization | |
Ask if player wants to play again. | |
Fix up the game after the screen has been resized | |
| |
Set the background. | |
| |
Show the mouse cursor | |
Show the splash screen | |
Erase the splash screen | |
Take one trip through the mainloop | |
| |
update the display | |
Pause the game, waiting for a keystroke. | |
Inherited from GameLooper | |
return a Event.EventGroup | |
return a SpriteGroup | |
return a Drawable.Layer and keep track. | |
| |
Defaults to no collision checks. | |
| |
| |
|
Class Variable Summary | |
---|---|
Inherited from Game | |
str |
splash_filename = 'pygsear_logo.png'
|
Method Details |
---|
mainloop(self)The main twisted game loop.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sat Dec 9 14:11:20 2006 | http://epydoc.sf.net |