This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
rc2007-soccer/source/Concept/Framework/sensor.h
masterm 54a7ea32d4 +++ added parent object to io_modules
+++ added speed and enabling value stores for engines
2007-02-13 14:40:04 +00:00

31 lines
417 B
C++

#ifndef _SENSOR_H
#define _SENSOR_H
#include "stdafx.h"
class Sensor : public IO_Module
{
public:
Sensor()
{
this->parent = NULL;
}
Sensor(uint32 sensorId, SensorTypes sensorType)
{
this->parent = NULL;
this->moduleId = sensorId;
this->sensorType = sensorType;
}
protected:
SensorTypes sensorType;
public:
SensorTypes GetType()
{
return sensorType;
}
};
#endif