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

class Table {
private:
	static const int _height = 64;
	static const int _depth = 2;
	static const int _delay = 8;
	static const int _lane = CFG_DHEIGHT / _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);
};