Home | Trees | Index | Help |
---|
Package pygsear :: Module Game :: Class GameLooper |
|
Game
,
GameConfiguration
Method Summary | |
---|---|
__init__(self)
| |
return a Event.EventGroup | |
return a SpriteGroup | |
return a Drawable.Layer and keep track. | |
beep(self)
| |
Defaults to no collision checks. | |
checkEvents(self)
| |
loop(self)
| |
pause(self)
| |
unpause(self)
|
Method Details |
---|
addEventGroup(self, event=())return a |
addGroup(self, sprites=[], layer=None)return a |
addLayer(self, size=None)return a Game has a list (.layers ) of all the
layers in the game.
|
checkCollisions(self)Defaults to no collision checks. Game.mainloop() will call this function once each time through the loop. Subclasses should override to check collisions and perform the needed actions. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sat Dec 9 14:11:20 2006 | http://epydoc.sf.net |