Beispiel #1
0
 def dump(self):
     """
     A string with all params of the game  is  returned.
     """
     p = {u'ID' : self.id, 
          u'Played at' : self.played_at, 
          u'Points Team 1' : self.points_t1,
          u'Points Team 2' : self.points_t2,
          u'Team 1 Player 1' : self.pid_t1p1.info(), 
          u'Team 1 Player 2' : self.pid_t1p2.info(), 
          u'Team 2 Player 1' : self.pid_t2p1.info(), 
          u'Team 2 Player 2' : self.pid_t2p2.info() }
     return Utils.info_box(u'Game', p)
Beispiel #2
0
 def dump(self):
     """
     A string with all params of the player  is  returned.
     """
     p = {u'ID' : self.id, u'Name' : self.name, u'Fullname' : self.fullname }
     return Utils.info_box(u'Player', p)