diff options
author | davesilver <nibor123@gmail.com> | 2010-07-19 16:02:05 (GMT) |
---|---|---|
committer | davesilver <nibor123@gmail.com> | 2010-07-19 16:02:05 (GMT) |
commit | a78f8a7b306fbc033905017eb6ee297214f376c6 (patch) | |
tree | 5e84d8a2e70a6721718e87a09f3a588f05a3093b /DrawableObjectTests/Spritesheet.py | |
parent | 05e50af6404dee8f355310ef6741f9e2788c9b14 (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 0771e59..2f8668d 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 = image.get_at(0,0)
image.set_colorkey(myColorKey)
image.blit(self.sheet, (0, 0), rect)
return image
|