#include <abstractworld.hh>
Inheritance diagram for anoid::base::AbstractWorld:


Public Methods | |
| virtual Object * | loadObject (const std::string &name)=0 |
| virtual int | getFreshID ()=0 |
| virtual double | getTime ()=0 |
| virtual double | getG ()=0 |
| virtual vector< Object * >::iterator | begin ()=0 |
| virtual vector< Object * >::iterator | end ()=0 |
| virtual vector< Element * >::iterator | beginE ()=0 |
| virtual vector< Element * >::iterator | endE ()=0 |
| virtual void | send (Event *e)=0 |
| virtual void | listen (Object *o, const std::string &m)=0 |
| virtual void | fireEvents ()=0 |
| virtual Event * | loadEvent (const std::string &name)=0 |
| virtual Event * | loadEvent (const std::string &name, config::Configuration &c)=0 |
| virtual Event * | sendEvent (const std::string &name)=0 |
| virtual Event * | sendEvent (const std::string &name, Object *o1)=0 |
| virtual Event * | sendEvent (const std::string &name, Object *o1, Object *o2)=0 |
| virtual Event * | sendEvent (const std::string &name, Object *o1, Object *o2, Object *o3)=0 |
| virtual context::Context * | getContext ()=0 |
|
|
Get an iterator of all children
Implemented in anoid::main::World. |
|
|
Implemented in anoid::main::World. |
|
|
Implemented in anoid::main::World. |
|
|
Implemented in anoid::main::World. |
|
|
Implemented in anoid::main::World. Referenced by anoid::main::Anoid::runLevel(). |
|
|
Implemented in anoid::main::World. Referenced by anoid::base::Element::redraw(). |
|
|
Get a fresh ID, which is unique in this world (this is used for serialisation on the network)
Implemented in anoid::main::World. Referenced by anoid::base::Object::add(). |
|
|
Implemented in anoid::main::World. |
|
|
Get time passed since last update (used for position calculations from velocity etc.)
Implemented in anoid::main::World. |
|
||||||||||||
|
Subscribe to a certain kind of messages
Referenced by anoid::base::Object::listen(). |
|
||||||||||||
|
Convenience method for loading an event and initialise it with some a configuration
Implemented in anoid::main::World. |
|
|
Convenience method for loading an event
Implemented in anoid::main::World. |
|
|
Implemented in anoid::main::World. Referenced by anoid::base::Object::init(). |
|
|
Fire an event for handling during the next event handler loop
Referenced by anoid::main::Anoid::handleKeyDown(), anoid::main::Anoid::handleKeyUp(), and anoid::main::Anoid::handlePointerMove(). |
|
||||||||||||||||||||
|
Convenience methof for loading and sending an event with three parameters
|
|
||||||||||||||||
|
Convenience methof for loading and sending an event with two parameters
|
|
||||||||||||
|
Convenience methof for loading and sending an event with one parameter
|
|
|
Convenience methof for loading and sending an event
Implemented in anoid::main::World. |