This repository has been archived on 2022-12-14. You can view files and clone it, but cannot push or open issues or pull requests.
WaveGGJ17/VaporWaveWars/compas.hpp
2017-01-20 23:52:42 +01:00

27 lines
415 B
C++

#ifndef COMPAS_HPP
#define COMPAS_HPP
#include <vector>
#include <iostream>
#include <cmath>
static const float margeErr = 0.80f;
class Compas{
private:
bool isPress;
int spaceTime;
std::vector<int> notes;
public:
Compas();
void start();
void add();
void end();
void incriseTime();
int get(int i) const;
bool operator ==(const Compas& d) const;
};
#endif // COMPAS_HPP