dabodemo Commit
Revision 406
Date: 2006-06-16 08:32:44 -0700 (Fri, 16 Jun 2006)
Author: ed
Changed:
U trunk/games/bubblet/BubbleBizobj.py
U trunk/games/bubblet/BubbletForm.py
Log:
Removed some redundant code. Saving the prefs is now no longer necessary, as
they save themselves when set.
Diff:
Modified: trunk/games/bubblet/BubbleBizobj.py
===================================================================
--- trunk/games/bubblet/BubbleBizobj.py 2006-06-16 15:19:00 UTC (rev 405)
+++ trunk/games/bubblet/BubbleBizobj.py 2006-06-16 15:32:44 UTC (rev 406)
@@ -23,13 +23,6 @@
self.useFieldProps = False
- def writeStats(self):
- prf = self.PreferenceManager
- prf.numbergames = self.NumberOfGames
- prf.totalpoints = self.TotalPoints
- prf.highgame = self.HighGame
-
-
def newGame(self):
for rr in self.bubbles:
for cc in rr:
Modified: trunk/games/bubblet/BubbletForm.py
===================================================================
--- trunk/games/bubblet/BubbletForm.py 2006-06-16 15:19:00 UTC (rev 405)
+++ trunk/games/bubblet/BubbletForm.py 2006-06-16 15:32:44 UTC (rev 406)
@@ -83,11 +83,6 @@
dabo.ui.saveScreenShot(self)
- def onClose(self, evt):
- # Write the stats
- self.Bizobj.writeStats()
-
-
def bubbleClick(self, bubble):
biz = self.Bizobj
if biz.GameOver:
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev