From 85c11c0a88af436de3c19b61d80848dac0ff316a Mon Sep 17 00:00:00 2001 From: Alan Aguiar Date: Sat, 15 Feb 2014 00:17:50 +0000 Subject: spanglish messages --- (limited to 'src') diff --git a/src/Main.py b/src/Main.py index 7ec27b5..5e9e9be 100755 --- a/src/Main.py +++ b/src/Main.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from api.Game import CGame -import game.PresentationState +from game.PresentationState import CPresentationState class EdSexualGame(): @@ -12,7 +12,7 @@ class EdSexualGame(): g = CGame() - ms = game.PresentationState.CPresentationState() + ms = CPresentationState() g.setState(ms) g.gameLoop() @@ -20,4 +20,4 @@ class EdSexualGame(): if __name__ == "__main__": j = EdSexualGame() - j.main() \ No newline at end of file + j.main() diff --git a/src/api/Game.py b/src/api/Game.py index 440e260..bf4b9ce 100644 --- a/src/api/Game.py +++ b/src/api/Game.py @@ -46,7 +46,7 @@ class CGame(object): setPartidasToFile(self.mPartidaDict) pygame.mouse.set_visible(True) pygame.quit() - print "destroy Game" + print "destroy game..." def init(self): print "initing game..." @@ -104,7 +104,7 @@ class CGame(object): self.mCurrentPartida = 1 def gameLoop(self): - print "starting game.." + print "starting game..." while not self.mQuit: diff --git a/src/api/PartidasMan.py b/src/api/PartidasMan.py index de78669..c5ab974 100644 --- a/src/api/PartidasMan.py +++ b/src/api/PartidasMan.py @@ -33,7 +33,7 @@ def getPartidasFromFile(): try: f = open(path + 'data_partidas', 'r') except: - print 'Error al abrir partidas' + print 'Error opening partidas' p1 = Partida() p2 = Partida() p3 = Partida() @@ -75,7 +75,7 @@ def setPartidasToFile(par): try: f = open(path + 'data_partidas', 'w') except: - print 'Error al guardar partidas' + print 'Error saving partidas' return for i in [1, 2, 3]: @@ -94,4 +94,5 @@ def setPartidasToFile(par): else: f.write('None\n') f.close() - print 'partidas guardadas' + print 'saving partidas' + diff --git a/src/game/PresentationState.py b/src/game/PresentationState.py index 3178f37..fe5e104 100644 --- a/src/game/PresentationState.py +++ b/src/game/PresentationState.py @@ -44,7 +44,7 @@ class CPresentationState(CGameState): if CMouse().firstPress(): self.mactive = True - if self.mactive == True: + if self.mactive: if CMouse().release(): self.mactive = False ms = MenuState.CMenuState() -- cgit v0.9.1