Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

GBE::GInfluenceableAgent Class Reference

Adds the energy of received influences to the element's own energy. More...

#include <GInfluenceableAgent.h>

Inheritance diagram for GBE::GInfluenceableAgent:

Inheritance graph
[legend]
Collaboration diagram for GBE::GInfluenceableAgent:

Collaboration graph
[legend]
List of all members.

Public Slots

virtual void receiveInfluence (GCS::GElementInfluence &influence)

Public Member Functions

 GInfluenceableAgent (QObject *parent=NULL, const char *name=NULL)
virtual ~GInfluenceableAgent ()

Detailed Description

Adds the energy of received influences to the element's own energy.

Author:
Raphael Langerhorst


Constructor & Destructor Documentation

GBE::GInfluenceableAgent::GInfluenceableAgent QObject *  parent = NULL,
const char *  name = NULL
 

Constructor.

GBE::GInfluenceableAgent::~GInfluenceableAgent  )  [virtual]
 

Destructor.


Member Function Documentation

void GBE::GInfluenceableAgent::receiveInfluence GCS::GElementInfluence influence  )  [virtual, slot]
 

The energy of the received influence is added to own energy.

See also:
GCS::GEnergy::put()

Reimplemented from GCS::GAgent.


The documentation for this class was generated from the following files:
Generated on Thu Oct 21 21:18:10 2004 for G System by doxygen 1.3.6