source: proiecte/SIMEO/Simeo/src/SimeoEngine/SimpleAgent.h @ 167

Last change on this file since 167 was 167, checked in by (none), 14 years ago

Simeo: added final project and also older proof of concept code.

We used Git for version control, so look at the Git repo
in SIMEO/Simeo/ for more info.

File size: 660 bytes
Line 
1#ifndef SIMPLEAGENT_H
2#define SIMPLEAGENT_H
3
4#include <vector>
5#include "Sensor.h"
6#include "Actuator.h"
7#include "CommChannel.h"
8#include "Agent.h"
9
10using namespace std;
11
12
13class SimpleAgent : public Agent
14{
15private:
16        Sensor *m_sensorLeft, *m_sensorRight, *m_sensorUp, *m_sensorDown;
17        Actuator *m_actuatorLeft, *m_actuatorRight, *m_actuatorUp, *m_actuatorDown;
18        CommChannel *m_channelLeft, *m_channelRight, *m_channelUp, *m_channelDown;
19
20        int m_timeStep, m_timeWave;
21        int local;
22
23public:
24        SimpleAgent(vector<Sensor *> sensorList, vector<Actuator *> actuatorList, vector<CommChannel *> channelList);
25        ~SimpleAgent();
26
27        void step();
28
29};
30
31
32#endif //SIMPLEAGENT_H
Note: See TracBrowser for help on using the repository browser.