#include <PhysicalEngine.h>
Inheritance diagram for Enki::Robot:

Public Member Functions | |
| void | addLocalInteraction (LocalInteraction *li) |
| Add a new local interaction, re-sort interaction vector from long ranged to short ranged. | |
| void | addGlobalInteraction (GlobalInteraction *gi) |
| Add a global interaction, just add it at the end of the vector. | |
| virtual void | initLocalInteractions (double dt, World *w) |
| Initialize the local interactions, call init on each one. | |
| virtual void | doLocalInteractions (double dt, World *w, PhysicalObject *po) |
| Do the local interactions with other objects, call objectStep on each one. | |
| virtual void | doLocalWallsInteraction (double dt, World *w) |
| Do the local interactions with walls, call wallsStep on each one. | |
| virtual void | finalizeLocalInteractions (double dt, World *w) |
| All the local interactions are finished, call finalize on each one. | |
| virtual void | doGlobalInteractions (double dt, World *w) |
| Do the global interactions, call step on each one. | |
| void | sortLocalInteractions (void) |
| Sort local interactions. Called by addLocalInteraction ; can be called by subclasses in case of interaction radius change. | |
Protected Attributes | |
| std::vector< LocalInteraction * > | localInteractions |
| Vector of local interactions. | |
| std::vector< GlobalInteraction * > | globalInteractions |
| Vector of global interactions. | |
1.5.1