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

def gameclock::ClassicGame::end_turn (   self  ) 

override the end_turn function to reset the timers at the end of turns

Reimplemented from gameclock::Game.

Definition at line 257 of file gameclock.py.

00257                       :
        """override the end_turn function to reset the timers at the end of turns"""
        global default_time
        tmp = self.cur_clock
        Game.end_turn(self)
        tmp.time = default_time
        tmp.update()

class HourglassGame(Game):


Generated by  Doxygen 1.6.0   Back to index