diff options
author | Walter Bender <walter@sugarlabs.org> | 2010-03-02 08:23:29 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2010-03-02 08:23:29 (GMT) |
commit | 11e88c07cfa97933ac17dddbabb7e8bce1fbb07a (patch) | |
tree | 4e54d7f203b5ae983f7b28780f2cfac8c83c77c4 /sprites.py | |
parent | 391fb28b9b6d01679c10c8f978baf560003b8014 (diff) |
moving color to canvas
Diffstat (limited to 'sprites.py')
-rw-r--r-- | sprites.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -34,7 +34,7 @@ class Sprite manages individual sprites within the collection. Example usage: # Import the classes into your program. - from sprites import Sprites Sprite + from sprites import Sprites, Sprite # Create a new sprite collection for a gtk Drawing Area. my_drawing_area = gtk.DrawingArea() @@ -364,3 +364,4 @@ class Sprite: except IndexError: print "Index Error: %d %d" % (len(array), offset) return (-1,-1,-1,-1) + |