diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2010-02-02 19:47:56 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2010-02-02 19:47:56 (GMT) |
commit | 63b77956a996c0f7214248275f7f12806e5ba341 (patch) | |
tree | dbfb2556a65b0289c94d5e8288551b8e6176508a /sprites.py | |
parent | 1b5b6af91b260dc90620baafae25fb2d0d396a06 (diff) |
bits of cleaning here and there
Diffstat (limited to 'sprites.py')
-rw-r--r-- | sprites.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,7 +43,7 @@ Example usage: # Create a "pixbuf" (in this example, from SVG). my_pixbuf = svg_str_to_pixbuf("<svg>...some svg code...</svg>") - # Create a sprite at position x,y. + # Create a sprite at position x1, y1. my_sprite = sprites.Sprite(self.sprite_list, x1, y1, my_pixbuf) # Move the sprite to a new position. @@ -52,7 +52,7 @@ Example usage: # Create another "pixbuf". your_pixbuf = svg_str_to_pixbuf("<svg>...some svg code...</svg>") - # Create a sprite at position x2,y2. + # Create a sprite at position x2, y2. your_sprite = sprites.Sprite(self.sprite_list, x2, y2, my_pixbuf) # Assign the sprites to layers. |