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

def gameclock::Game::__str__ (   self  )  [inherited]

make a better string representation of the objects

we basically dump all variables and some functions

Definition at line 224 of file gameclock.py.

00224                      :
        """make a better string representation of the objects
        
        we basically dump all variables and some functions
        """
        return "  game engine %s\n  turns: %f / %d miliseconds: %d\n  first %s\n  current %s" % ( object.__str__(self), self.turns, self.get_turns(), self.miliseconds, self.first_clock, self.cur_clock)

class BlitzGame(Game):


Generated by  Doxygen 1.6.0   Back to index