| Home | Trees | Index | Help |
|
|---|
| Package pygext :: Package gl :: Package director :: Module entities :: Class EntityNode |
|
object--+ |Node--+ | EntityNode
Entity,
SimpleBaseMenu,
StaticEntityBase class for all Entities
A simple entity that uses a single shape to draw itself.| Method Summary | |
|---|---|
__init__(self,
shape,
hotspot,
**kw)
| |
enter() -> None | |
get_alpha(self)
| |
get_bounding_rect() -> Rect | |
init(self)
| |
place(layername) -> this | |
set(**kw) -> this | |
set_alpha(self,
alpha)
| |
| Inherited from Node | |
| |
| |
| |
abort_actions([typefilter]) -> None | |
| |
attach_to(node) -> None | |
clear() -> None | |
| |
delete() -> None | |
detach() -> None | |
do(*actions) -> this | |
end_actions([typefilter]) -> None | |
exit() -> None | |
Get a list of currently active actions from this Node | |
| |
| |
traverse() -> None | |
| Property Summary | |
|---|---|
alpha | |
bottom | |
center | |
centerx | |
centery | |
height | |
left | |
right | |
top | |
width | |
| Class Variable Summary | |
|---|---|
NoneType |
image = None |
NoneType |
layer = None |
| Inherited from Node | |
bool |
fast_draw = False
|
| Method Details |
|---|
enter(self)enter() -> None Called when entering this node in graph traversal
|
get_bounding_rect(self)get_bounding_rect() -> Rect Calculate the bounding rect for the entity. |
place(self, layername)place(layername) -> this Place the entity on a layer in the currently active Scene. |
set(self, **kw)set(**kw) -> this Set several attribute in one call, for example: entity.set(x=10, y=20, angle=90) |
| Property Details |
|---|
alpha |
| Class Variable Details |
|---|
image
|
layer
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Jun 12 18:21:21 2006 | http://epydoc.sf.net |