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

gameclock::Clock Class Reference

List of all members.


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
applet)

Definition at line 39 of file gameclock.py.


Public Member Functions

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

Public Attributes

 last_start
 text

Static Public Attributes

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

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

Generated by  Doxygen 1.6.0   Back to index