diff options
-rwxr-xr-x | src/api/Sprite.py | 2 | ||||
-rw-r--r-- | src/game/Area1Game1.py | 1 | ||||
-rw-r--r-- | src/game/Area1Game6.py | 4 | ||||
-rw-r--r-- | src/game/BoyHall.py | 9 | ||||
-rw-r--r-- | src/game/MenuState.py | 1 |
5 files changed, 1 insertions, 16 deletions
diff --git a/src/api/Sprite.py b/src/api/Sprite.py index 39dbec8..92ef3e1 100755 --- a/src/api/Sprite.py +++ b/src/api/Sprite.py @@ -16,8 +16,6 @@ from Mouse import CMouse # image, so this is inneficient for sprites that does not rotate continuoulsy.
class CSpriteOLD(pygame.sprite.Sprite):
-
- # TODO: Como defino aca los vectores ?
""" An enhanced Sprite class
expects a gameEngine.Scene class as its one parameter
diff --git a/src/game/Area1Game1.py b/src/game/Area1Game1.py index 2e02490..25b9d8d 100644 --- a/src/game/Area1Game1.py +++ b/src/game/Area1Game1.py @@ -143,7 +143,6 @@ class CArea1Game1(CGameState): self.mButtonBackA1G1 = CButton() - #TODO: Create a function to create image. self.mButtonBackA1G1.set_bgColor((0x99, 0x99, 0x66)) self.mButtonBackA1G1.font = pygame.font.Font('assets/fonts/DejaVuSans.ttf', 20) self.mButtonBackA1G1.set_center((110, 650)) diff --git a/src/game/Area1Game6.py b/src/game/Area1Game6.py index 582442c..662182c 100644 --- a/src/game/Area1Game6.py +++ b/src/game/Area1Game6.py @@ -171,7 +171,6 @@ class CArea1Game6(CGameState): self.mButtonBack = CButton() - #TODO: Create a function to create image. self.mButtonBack.set_bgColor((0x99, 0x99, 0x66)) self.mButtonBack.font = pygame.font.Font('assets/fonts/DejaVuSans.ttf', 20) self.mButtonBack.set_center((110, 650)) @@ -306,7 +305,7 @@ class CArea1Game6(CGameState): #hay algo mas eficiente? if CMath.pointInsidePolygon(x,y, WORD1): - self.mHelpActive = 0 + self.mHelpActive = 0 elif CMath.pointInsidePolygon(x,y, WORD2a) or CMath.pointInsidePolygon(x,y, WORD2b): self.mHelpActive = 1 elif CMath.pointInsidePolygon(x,y, WORD3a) or CMath.pointInsidePolygon(x,y, WORD3b): @@ -357,4 +356,3 @@ class CArea1Game6(CGameState): self.mPoints = None print "CArea1Game6 destroy" -
\ No newline at end of file diff --git a/src/game/BoyHall.py b/src/game/BoyHall.py index edf1628..3850d23 100644 --- a/src/game/BoyHall.py +++ b/src/game/BoyHall.py @@ -128,15 +128,6 @@ class CBoyHall(CSprite): self.setState(self.STATE_WALKING) return - def render(self): - print("render") - pass - - - def destroy(self): - pass - #TODO: Eliminar la imagen creada. - def setState(self, aState): self.setTimeState(0) diff --git a/src/game/MenuState.py b/src/game/MenuState.py index 05ca044..3cf13a1 100644 --- a/src/game/MenuState.py +++ b/src/game/MenuState.py @@ -88,7 +88,6 @@ class CMenuState(CGameState): CGame().addChild(self.mButtonExit) self.mButtonA1G1 = CButton() - #TODO: Create a function to create image. self.mButtonA1G1.bgColor = (0x99, 0x99, 0x66) self.mButtonA1G1.font = pygame.font.Font('assets/fonts/DejaVuSans.ttf', 20) self.mButtonA1G1.set_center((110, 420)) |