Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/states/Area1Game1.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/states/Area1Game1.py')
-rwxr-xr-xsrc/states/Area1Game1.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/states/Area1Game1.py b/src/states/Area1Game1.py
index 42ba362..478b18e 100755
--- a/src/states/Area1Game1.py
+++ b/src/states/Area1Game1.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import pygame
@@ -184,7 +185,7 @@ class CArea1Game1(CGameState):
#TODO: Create a function to create image.
self.mButtonBack.set_bgColor((0x99, 0x99, 0x66))
self.mButtonBack.font = pygame.font.Font('assets/fonts/fipps.ttf', 20)
- self.mButtonBack.setCenter((110, 650))
+ self.mButtonBack.set_center((110, 650))
self.mButtonBack.set_size((200, 40))
self.mButtonBack.set_text('Volver')
CGame().addChild(self.mButtonBack)