Projet_VictorAvecUnK/app/include/TerrariumParameter.h

30 lines
669 B
C++

//
// Created by camer on 20/05/2020.
//
#ifndef PROJET_VICTORAVECUNK_TERRARIUMPARAMETER_H
#define PROJET_VICTORAVECUNK_TERRARIUMPARAMETER_H
class TerrariumParameter { //TODO add to diagram
private:
float value;
int thresholdHigh;
int thresholdLow;
public:
TerrariumParameter(int thresholdHigh, int thresholdLow);
//getters setters
float getValue() const;
void setValue(float value);
int getThresholdHigh() const;
void setThresholdHigh(int thresholdHigh);
int getThresholdLow() const;
void setThresholdLow(int thresholdLow);
bool is2High();
bool is2Low();
};
#endif //PROJET_VICTORAVECUNK_TERRARIUMPARAMETER_H