#include <element.hh>
Inheritance diagram for anoid::base::Element:


Public Methods | |
| virtual Object * | add (Object *o) |
| virtual Ability * | lookupAbility (const char *name) |
| virtual void | redraw () |
| Shape * | getShape () |
| virtual vector< Ability * >::iterator | beginA () |
| virtual vector< Ability * >::iterator | endA () |
Protected Attributes | |
| string_map< Ability * > | abilities |
| Shape * | theShape |
Private Attributes | |
| vector< Ability * > | childrenA |
Friends | |
| class | Ability |
|
|
Add an object to this object
Reimplemented from anoid::base::Object. Definition at line 8 of file element.cc. |
|
|
Definition at line 28 of file element.hh. References childrenA. |
|
|
Definition at line 29 of file element.hh. References childrenA. |
|
|
Definition at line 27 of file element.hh. |
|
|
@fixme Skal vi delete her, hvis der allerede er noget? Definition at line 22 of file element.cc. References abilities. Referenced by anoid::plugin::anoid::Pad::receive(). |
|
|
Called just after update has been called on the entire world. This should draw the objects (using OpenGL). Reimplemented from anoid::base::Object. Definition at line 26 of file element.cc. References childrenA, anoid::base::AbstractWorld::getContext(), anoid::base::Object::getWorld(), anoid::simple::i(), anoid::context::Context::popMatrix(), anoid::context::Context::pushMatrix(), anoid::base::Shape::redraw(), and theShape. |
|
|
Definition at line 30 of file element.hh. |
|
|
Definition at line 17 of file element.hh. Referenced by lookupAbility(), anoid::base::Ability::lookupFellowAbility(), and anoid::base::Ability::registerName(). |
|
|
Definition at line 15 of file element.hh. |
|
|
Definition at line 18 of file element.hh. |