Sprite
The object used for Sprites.
Arguments:
ishape -- an image, or an image, rectstyle. The rectstyle will
describe the shape of the image, used for collision
detection.
pos -- initial (x,y) position of the Sprite.
Attributes:
rect -- the current position of the Sprite
_rect -- the previous position of the Sprite
groups -- the groups the Sprite is in
agroups -- the groups the Sprite can hit in a collision
hit -- the handler for hits -- hit(g,s,a)
loop -- the loop handler, called once a frame