summaryrefslogtreecommitdiff
path: root/Table.hpp
blob: 0c3b7088d5e4f78371d614b287d6368ec56ddc72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once
#include "Cursor.hpp"
#include "cfg.hpp"

class Table {
private:
	static const int _yend = CFG_DHEIGHT - 32;
	static const int _height = 64;
	static const int _depth = 2;
	static const int _delay = 8;
	static const int _lane = _yend / _height;
	int _notes[_depth][_height];
	int _strength[_depth][_height];
	int _hovered, _edited, _layer;
public:
	Table();
	void update(const Cursor& cursor);
	void draw(const Cursor& cursor);
};