#pragma once #include "Cursor.hpp" #include "cfg.hpp" class Table { private: static const int _yend = CFG_DHEIGHT - 24; static const int _height = 61; static const int _depth = 3; 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); void set_layer(int layer); };