diff options
author | davesilver <nibor123@gmail.com> | 2010-07-19 16:05:25 (GMT) |
---|---|---|
committer | davesilver <nibor123@gmail.com> | 2010-07-19 16:05:25 (GMT) |
commit | 05b1b0e7e46d6f44364f246205349c605eb2963f (patch) | |
tree | 0e1f57ea5dc9ad6043a8bec09de34b78856b8af3 /DrawableObjectTests/Spritesheet.py | |
parent | a78f8a7b306fbc033905017eb6ee297214f376c6 (diff) |
Updating Tests
Diffstat (limited to 'DrawableObjectTests/Spritesheet.py')
-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 2f8668d..37c89b8 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 = image.get_at(0,0)
+ if myColorKey == None: myColorKey = image.get_at((0,0))
image.set_colorkey(myColorKey)
image.blit(self.sheet, (0, 0), rect)
return image
|