Home | Trees | Index | Help |
---|
|
object
--+ |WorldWidget
--+ |RectMarker
--+ | EntityMarker
AgentValueMarker
,
EntityValueMarker
,
Marker
,
Marker
Method Summary | |
---|---|
__init__(self,
entity,
text)
| |
get_rect(self)
| |
Inherited from RectMarker | |
Draw this widget to the screen. | |
Inherited from object | |
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 |
border_color = (0, 255, 0)
|
tuple |
fill_color = (255, 255, 255)
|
tuple |
margin = (0, 0)
|
Inherited from RectMarker | |
int |
border_width = 1 |
int |
fill_alpha = 40 |
int |
font_size = 14 |
NoneType |
image = None |
NoneType |
text = None |
tuple |
text_color = (0, 0, 0)
|
Method Details |
---|
__init__(self,
entity=None,
text=None)
|
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 |
---|
border_color
|
fill_color
|
margin
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Thu Sep 22 22:52:44 2005 | http://epydoc.sf.net |