Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/MAFH2/fortuneengine/DrawableObject.py
diff options
context:
space:
mode:
Diffstat (limited to 'MAFH2/fortuneengine/DrawableObject.py')
-rw-r--r--MAFH2/fortuneengine/DrawableObject.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/MAFH2/fortuneengine/DrawableObject.py b/MAFH2/fortuneengine/DrawableObject.py
index 35c2f26..6c4163d 100644
--- a/MAFH2/fortuneengine/DrawableObject.py
+++ b/MAFH2/fortuneengine/DrawableObject.py
@@ -2,7 +2,7 @@ import pygame
class DrawableObject(pygame.sprite.Sprite):
- def __init__(self, images, textfileName, transparent = False x = 0, y = 0):
+ def __init__(self, images, textfileName, transparent = False, x = 0, y = 0):
pygame.sprite.Sprite.__init__(self)
self._images = []
@@ -115,7 +115,6 @@ class DrawableObject(pygame.sprite.Sprite):
setColorKey(myColorKey)
def makeTransparent(self, bool = True):
-
if bool == True:
surf = pygame.Surface((0,0))
surf.fill((255, 255, 255, 0))