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-22 01:12:51 +01:00

31 lines
558 B
C++

#ifndef COMPAS_HPP
#define COMPAS_HPP
#include <vector>
#include <iostream>
#include <cmath>
#include <commons.hpp>
class Compas {
private:
bool isPress;
bool failed;
int spaceTime;
std::vector<int> notes;
int get(int i) const;
int size() const;
public:
Compas();
void start();
void add();
void end();
void fail();
void incraeseTime();
bool isPressed() const;
bool isFailed() const;
bool operator ==(const Compas& d) const;
const std::vector<int> &getNotes() const;
};
#endif // COMPAS_HPP