Home | Trees | Index | Help |
---|
Package pygsear :: Module Drawable :: Class MultiRotated |
|
object
--+ |Sprite
--+ |Drawable
--+ |MultiImage
--+ |RotatedImage
--+ | MultiRotated
Method Summary | |
---|---|
Initialize MultiRotated | |
a new object with type S, a subtype of T |
|
__repr__(self)
(inherited from Sprite )
| |
add(group) add a sprite to container (inherited from Sprite )
| |
add_internal(self,
group)
(inherited from Sprite )
| |
add image to list of available images (inherited from MultiImage )
| |
alive() -> bool ask the life of a sprite (inherited from Sprite )
| |
bool |
Performs a los (line of sight) check from the center of the source to the center of the target. (inherited from Drawable )
|
Align the Drawable in its layer (inherited from Drawable )
| |
Erase sprite to background (inherited from Drawable )
| |
bool
|
return True if this sprite and other sprite overlap. (inherited from Drawable )
|
Drawable or False
|
return True if this sprite and any in list of others collide. (inherited from Drawable )
|
List
|
return True if this sprite and any in list of others collide. (inherited from Drawable )
|
return the direction from the sprite to a point (inherited from Drawable )
| |
return the distance from the sprite to a point (inherited from Drawable )
| |
Blit image to layer (inherited from Drawable )
| |
Switch images for the sprite (inherited from RotatedImage )
| |
flip to the next set of images. | |
return a copy of the sprite's position (inherited from Drawable )
| |
return angle of rotation (inherited from RotatedImage )
| |
return size of sprite's rect. (inherited from Drawable )
| |
groups() -> list list used sprite containers (inherited from Sprite )
| |
kill() end life of sprite, remove from all groups (inherited from Sprite )
| |
set position to next position on path | |
Move sprite. (inherited from Drawable )
| |
return True if image is on the screen or layer. (inherited from Drawable )
| |
stop moving along Path (inherited from Drawable )
| |
remove(group) remove a sprite from container (inherited from Sprite )
| |
remove_internal(self,
group)
(inherited from Sprite )
| |
remove image by name (inherited from MultiImage )
| |
Flip back to the first image in the series and reset counter. | |
rotate to the left by radians (inherited from RotatedImage )
| |
set rotation rate to +2 (inherited from RotatedImage )
| |
set rotation rate to -2 (inherited from RotatedImage )
| |
set rotation rate to 0 (inherited from RotatedImage )
| |
turn as quickly as possible towards a point (inherited from RotatedImage )
| |
call move() continuously (inherited from Drawable )
| |
flip to the image for the current direction (inherited from RotatedImage )
| |
set the collision pygame.Rect used for collision
checking. (inherited from Drawable )
| |
Used to animate the images automatically. | |
Change which image is being shown. (inherited from RotatedImage )
| |
set which path to follow (inherited from Drawable )
| |
Move sprite to location. (inherited from Drawable )
| |
Move sprite to a random location on screen (inherited from Drawable )
| |
set angle of rotation (inherited from RotatedImage )
| |
set rate of rotation in radians / second (inherited from RotatedImage )
| |
Set size of sprite's rect. (inherited from Drawable )
| |
move sprite so that it does not overlap with other sprite (inherited from Drawable )
| |
Change which set of images is being shown. | |
clear sprite and update display (inherited from Drawable )
| |
Draw image and update display. (inherited from Drawable )
| |
start moving along Path (inherited from Drawable )
| |
update(self,
*args)
(inherited from Sprite )
| |
Move sprite to location. (inherited from Drawable )
|
Method Details |
---|
__init__(self,
w=None,
filenames=None,
steps=4,
colorkey=(0, 51, 0),
convert=1,
cx=None,
cy=None)
Initialize MultiRotated
|
__new__(S, ...)
|
flip_images(self)flip to the next set of images. |
move(self)set position to next position on path
|
reset_flip_images(self)Flip back to the first image in the series and reset counter. |
set_flip_images_rate(self, rate)Used to animate the images automatically.
|
switch_images(self, f)Change which set of images is being shown.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sun Nov 30 19:33:14 2003 | http://epydoc.sf.net |