diff options
Diffstat (limited to 'runEsquiadorFunc.py')
-rwxr-xr-x | runEsquiadorFunc.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/runEsquiadorFunc.py b/runEsquiadorFunc.py index 9b98dd7..b40ec43 100755 --- a/runEsquiadorFunc.py +++ b/runEsquiadorFunc.py @@ -8,11 +8,15 @@ from help import * from highScores import * from constants import * -LOG_FILENAME='Esquiador.log' +highScore = HighScore() + +def estadoJugador(self, estado): + self.jugador=estado + +LOG_FILENAME='Esquiador.log' log = logging.getLogger( 'EsquiadorRun' ) #log.setLevel( logging.DEBUG ) -highScore = HighScore() screen = pygame.display.set_mode(screen_size) bg = imagenFondo; @@ -24,12 +28,8 @@ font = './fonts/ice_sticks.ttf' just = True pos = ('center','center') -def estadoJugador(self, estado): - self.jugador=estado - while pygame.event.poll().type != pygame.QUIT: screen.blit(bg, (0,0) ) - selection = jmenu.run(['Numeros pares','Numeros impares','Puntajes mas altos' ,'Ayuda','Acerca de','Salir'],color,42,font=font,light=10,justify=just,pos=pos) if selection == 'Numeros pares': just = True |