brian (version 0.1.2+, $Date: 2003/06/30 18:53:36 $)
index
/home/gerrit/cvs/brian/brian.py

# $Id: brian.html,v 1.21 2003/06/30 18:53:36 gerrit Exp $

 
Modules
       
DataServer
Keys
atexit
basesprites
config
constants
errors
groups
level
optparse
pygame
screen
sets
sys
util

 
Classes
       
__builtin__.object
Game

 
class Game(__builtin__.object)
    Game class.
 
You should instantiate it with a level.Level instance, and
optionally the resolution. The attributes that can be set
are res, clockspeed, shotfile, savefile.
 
  Methods defined here:
__del__(self)
__init__(self, level, res=(1024, 768))
drawstatusbar(self)
getcollisions(self)
Returns collisions.
 
The collisions are a list of Event objects. All collisions are of
type COLLISION.
getstatus(self)
Returns status information.
 
Returns a oneline-string which gives information about the
present game situation. Useful to use as minor status bar.
This is only for testing purposes, in the future this becomes
better with a true statusbar.
mainloop(self)
Main game loop
save(self, fn)
Saves the current game to filename.
update(self, altered)
Refreshes the screen, possibly only the altered sections

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)
clockspeed = 50
paused = False
prevcol = {}
res = (1024, 768)
savefile = './brian.sav'
shotfile = './shot.tga'

 
Functions
       
getoptions()
main()

 
Data
        PROFILE = True
__all__ = ['Game']
__author__ = 'Gerrit Holl'
__date__ = '$Date: 2003/06/30 18:53:36 $'
__revision__ = '$Revision: 1.21 $'
__usage__ = 'brian [options]'
__version__ = '0.1.2+'
division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)

 
Author
        Gerrit Holl