Changed *.h files to *.hpp

This commit is contained in:
Kayne Ruse
2013-05-01 21:11:04 +10:00
parent cf82679109
commit 63aa248056
21 changed files with 47 additions and 47 deletions
+24
View File
@@ -0,0 +1,24 @@
#ifndef DELTA_HPP_
#define DELTA_HPP_
#include <ctime>
class Delta {
public:
Delta() {
time = tick = 0;
}
int Calculate() {
int c = clock();
time = c - tick;
tick = c;
return time;
}
int GetDelta() const {
return time;
};
private:
int time, tick;
};
#endif