Logo Search packages:      
Sourcecode: gameclock version File versions  Download package

Public Member Functions | Public Attributes | Static Public Attributes

gameclock::Clock Class Reference

List of all members.

Public Member Functions

def __init__
def __str__
def get_time
def pause
def running
def start
def stop
def update

Public Attributes


Static Public Attributes

 dead = False
int factor = 1
 game = None
int last_start = 0
 next = None
string text = ""

Detailed Description

The main clock engine

Each clock is an instance of this class. This could be considered
like a merge between a controler and a model in an MVC
model. However, this software isn't based on the MVC model in any
remote way.

This should be pretty precise and doesn't lag from empirical
observations (watching the clocks compared to the Gnome clock

Definition at line 28 of file gameclock.py.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index