Package spyre :: Module spyre :: Class Object
[frames | no frames]

Type Object

object --+
         |
        Object

Known Subclasses:
Group, StereoEngine, StereoInterface, TimeKeeper

The fundamental object. Contains class variables for run time and run (turn) counter.

All displayable objects should subclass from this. In addition to the inherited method 'display', a displayable object may have an 'update' and 'commit' methods.

The class vars runTime and runTurn are maintained by the TimeKeeper instance.
Method Summary
  __init__(self)
Abstract initializer.
  display(self)
Display the object using OpenGL This method must be overridden.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
NoneType engine: makes engine accessible to displayable objects.
list opengl_state_dependent = []
float runTime: how long has engine been running?
int runTurn: how many frames have elapsed?

Method Details

__init__(self)
(Constructor)

Abstract initializer.
Overrides:
__builtin__.object.__init__

display(self)

Display the object using OpenGL This method must be overridden.

Class Variable Details

engine

makes engine accessible to displayable objects.
Type:
NoneType
Value:
None                                                                  

opengl_state_dependent

Type:
list
Value:
[]                                                                     

runTime

how long has engine been running?
Type:
float
Value:
0.0                                                                   

runTurn

how many frames have elapsed?
Type:
int
Value:
0                                                                     

Generated by Epydoc 2.1 on Sat Jan 07 17:58:17 2006 http://epydoc.sf.net