1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#include "ui/ui.h" #include "game/game_state.h" namespace ui { UI::UI(int8_t tft_cs, int8_t tft_rst, int8_t tft_dc) : tft { tft_cs, tft_rst, tft_dc } { } void UI::init() { tft.initR(INITR_BLACKTAB); } void UI::render_screen(const game::GameState& state) { // TODO } }