Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Teem::SbotActiveObject Class Reference
[World interfaces]

#include <Entity.h>

Inheritance diagram for Teem::SbotActiveObject:

Teem::Entity Teem::Positionable Teem::EnkiSbotActiveObject List of all members.

Detailed Description

This is the interface to an Sbot active object.

Public Member Functions

virtual void setEnergyProperties (double activeDuration, double inactiveDuration, bool consumeEnergy)=0
 Set the duration of the two states of this object: active and inactive. Set energy consumption on and off as well.
virtual void setEnergyTime (double time)=0
 Set the actual time in energy cycle.
virtual void setEnergyFlow (double activeFlow, double inactiveFlow)=0
 Set the energy derivate to nearby Sbots while in active/inactive states.
virtual void setEnergy (double energy)=0
 Set the energy of this object.
virtual double getEnergy (void)=0
 Return the energy of this object.
virtual void setColor (const An::Color &activeColor, const An::Color &inactiveColor)=0
 Set the color of this object for both active and inactive states. Values are RGB in range [0..1].
virtual double getInteractionRange (void)=0
 Return the range up to which this object interacts with Sbots.

Protected Member Functions

 SbotActiveObject ()
 Protected constructor, created by SbotCreator-capable worlds.


class SbotCreator

The documentation for this class was generated from the following file:
Generated on Mon Oct 24 17:38:28 2005 for Teem by  doxygen 1.4.2