BasicSprite(image[,position]) -> new BasicSprite component.
A sprite for a pygame application. Can be changed, moved, scaled and rotated on the fly.
Does not use the standard component 'main' loop - must be used in conjunction with SpriteSheduler.
Keyword arguments: - image -- pygame surface containing the image - position -- (x,y) pixels position of the top left corner (default=(10,10))
Warning! You should be using the inbox/outbox interface, not these methods (except construction). This documentation is designed as a roadmap as to their functionalilty for maintainers and new component developers. |