diff options
author | davesilver <nibor123@gmail.com> | 2010-07-19 15:45:41 (GMT) |
---|---|---|
committer | davesilver <nibor123@gmail.com> | 2010-07-19 15:45:41 (GMT) |
commit | 009824361cc98463c4cee13570f88f173ba7790e (patch) | |
tree | 0de485c4cd01a7a44839dda98625fbfeb602caf2 | |
parent | 020c58aeedc422c90c7855d111cc6f468f71098a (diff) |
Updating Tests
-rwxr-xr-x | DrawableObjectTests/Spritesheet.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DrawableObjectTests/Spritesheet.py b/DrawableObjectTests/Spritesheet.py index 06753aa..cf9d9bc 100755 --- a/DrawableObjectTests/Spritesheet.py +++ b/DrawableObjectTests/Spritesheet.py @@ -12,7 +12,7 @@ class Spritesheet: def imgat(self, rect, myColorKey = None):
rect = pygame.Rect(rect)
image = pygame.Surface(rect.size).convert()
- if myColorKey = None: myColorKey = images.get_at(0,0)
+ if myColorKey == None: myColorKey = images.get_at(0,0)
image.set_colorkey(myColorKey)
image.blit(self.sheet, (0, 0), rect)
return image
|