Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sprites.py
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2010-03-02 08:23:29 (GMT)
committer Walter Bender <walter@sugarlabs.org>2010-03-02 08:23:29 (GMT)
commit11e88c07cfa97933ac17dddbabb7e8bce1fbb07a (patch)
tree4e54d7f203b5ae983f7b28780f2cfac8c83c77c4 /sprites.py
parent391fb28b9b6d01679c10c8f978baf560003b8014 (diff)
moving color to canvas
Diffstat (limited to 'sprites.py')
-rw-r--r--sprites.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sprites.py b/sprites.py
index a361ba0..0bdab1f 100644
--- a/sprites.py
+++ b/sprites.py
@@ -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)
+