Home | Trees | Index | Help |
---|
Package pygsear :: Module Game :: Class GameLooper |
|
GameConfiguration
,
Game
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 1.1 on Sun Jan 25 19:10:10 2004 | http://epydoc.sf.net |