| Home | Trees | Index | Help |
|---|
|
|
object--+ |WorldWidget--+ | LineMarker
ArrowMarker,
HomeYMarker| Method Summary | |
|---|---|
Draw this widget to the screen. | |
Return the line to mark (defined by subclasses) | |
get_rect(self)
| |
| Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
Return a new object with type S, a subtype of T... | |
helper for pickle | |
helper for pickle | |
Return repr(x)... | |
x.__setattr__('name', value) <==> x.name = value | |
Return str(x)... | |
| Instance Variable Summary | |
|---|---|
layer: An integer indicating the order in which the widget should be drawn to
the screen, relative to other widgets. | |
| Inherited from WorldWidget | |
movement_callback: A callback method that should be called whenever the sprite is
moved. | |
NoneType |
rect: A pygame Rect describing the extent of this widget, in
world coordinates. |
| Class Variable Summary | |
|---|---|
tuple |
color = (255, 255, 255)
|
int |
width = 1 |
| Method Details |
|---|
draw(self, screen, duration, dx, dy)Draw this widget to the screen.
|
get_line(self)Return the line to mark (defined by subclasses) |
get_rect(self) |
| Instance Variable Details |
|---|
layerAn integer indicating the order in which the widget should be drawn to the screen, relative to other widgets. Widgets with higher layer numbers will be drawn later.
|
| Class Variable Details |
|---|
color
|
width
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Sep 22 22:52:48 2005 | http://epydoc.sf.net |