Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/api/Game.py
diff options
context:
space:
mode:
authorAlan Aguiar <alanjas@hotmail.com>2013-10-01 21:13:16 (GMT)
committer Alan Aguiar <alanjas@hotmail.com>2013-10-01 21:13:16 (GMT)
commitec686ab2c49d1985bb5618d0072a9075587c0250 (patch)
tree921d20e25baa4da3433357d4f362fea732ef1293 /src/api/Game.py
parent74ad9cd6b9b54afb87b7e2232d876fdd71835d23 (diff)
comment a lot of debug prints
Diffstat (limited to 'src/api/Game.py')
-rw-r--r--src/api/Game.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/api/Game.py b/src/api/Game.py
index 7bd8611..7aa7ce2 100644
--- a/src/api/Game.py
+++ b/src/api/Game.py
@@ -46,7 +46,8 @@ class CGame(object):
if (self.mState != None):
self.mState.destroy()
self.mState = None
- print gc.collect(), " deleted objects"
+ gc.collect()
+ #print gc.collect(), " deleted objects"
self.mState = aState
self.mState.init()
@@ -70,7 +71,7 @@ class CGame(object):
print "destroy Game"
def init(self):
- print "init pygame..."
+ print "initing game..."
pygame.init()
#pygame.display.init()
#pygame.font.init()
@@ -104,7 +105,7 @@ class CGame(object):
self.mCurrentPartida = 1
def gameLoop(self):
- print "start game loop here"
+ print "starting game.."
while not self.mQuit:
while gtk.events_pending():
@@ -152,15 +153,15 @@ class CGame(object):
self.mAllSprites.remove(aSprite)
def setCharacter(self, par, name):
- print self.mPartidaDict.keys()
+ #print self.mPartidaDict.keys()
self.mPartidaDict[par].setCharacter(name)
- print 'Personaje ', name, ' asignado a partida ', par
+ #print 'Personaje ', name, ' asignado a partida ', par
def getCharacter(self, par):
return self.mPartidaDict[par].getCharacter()
def getPartida(self, n):
- print self.mPartidaDict.keys()
+ #print self.mPartidaDict.keys()
if self.mPartidaDict.has_key(n):
return self.mPartidaDict[n]
else: