A sprite whose screen coordinates and layer are calculated based on
its position in world coordinates in such a way as to
A special type of sprite that's used for isometric 3d display. Offset
is from the *midbottom* of the sprite!
Method Summary |
|
__init__(self,
category,
x,
y,
animation,
on_floor)
|
|
move(self,
dx,
dy)
|
|
move_to(self,
x,
y)
|
Inherited from Sprite |
|
__getstate__ (self)
|
|
__setstate__ (self,
state)
|
|
advance_animation (self,
ticks)
Advance this sprite's animation by the given number of ticks. |
|
animation_duration (self,
animation)
What is the total time to play the current animation? |
|
animation_image (self,
animation,
framenum)
|
|
draw (self,
screen,
duration,
dx,
dy)
Draw this widget to the screen. |
|
draw_scaled (self,
surface,
dx,
dy,
scalefac)
|
|
goto_frame (self,
framenum)
|
|
has_animation (self,
animation)
|
|
num_frames (self)
|
|
restart_animation (self)
Move this sprite's animation to its first frame. |
Inherited from object |
|
__delattr__ (...)
x.__delattr__('name') <==> del x.name |
|
__getattribute__ (...)
x.__getattribute__('name') <==> x.name |
|
__hash__ (x)
Return hash(x)... |
|
__new__ (T,
S,
...)
Return a new object with type S, a subtype of T... |
|
__reduce__ (...)
helper for pickle |
|
__reduce_ex__ (...)
helper for pickle |
|
__repr__ (x)
Return repr(x)... |
|
__setattr__ (...)
x.__setattr__('name', value) <==> x.name = value |
|
__str__ (x)
Return str(x)... |