#include <GUniverseExpansionAgent.h>
Inheritance diagram for GBE::GUniverseExpansionAgent:


Public Slots | |
| virtual void | receiveInfluence (const GCS::GElementInfluence &influence) |
| virtual void | initMaxDistance (double maxdistance) |
Public Member Functions | |
| GUniverseExpansionAgent () | |
| virtual | ~GUniverseExpansionAgent () |
Adds the following xml data to the element data:
<dynamics><maxdistance>double value</maxdistance></dynamics>
| GBE::GUniverseExpansionAgent::GUniverseExpansionAgent | ( | ) |
Constructor
| GBE::GUniverseExpansionAgent::~GUniverseExpansionAgent | ( | ) | [virtual] |
Virtual destructor for subclassing.
| void GBE::GUniverseExpansionAgent::initMaxDistance | ( | double | maxdistance | ) | [virtual, slot] |
Initializes the maximal allowed Distance in percent between an element and the borders of this Element. If the Form is 1000x1000x1000 and the maxdistance is 0.2 the form will be expanded if a element is 200 far away from the border.
| factor | acceleration factor towards an influence source |
| void GBE::GUniverseExpansionAgent::receiveInfluence | ( | const GCS::GElementInfluence & | influence | ) | [virtual, slot] |
Reimplements GAgent::receiveInfluence(). Expands the Form of this element, when necessary..
1.4.7