Files
etaHEN/Source Code/include/game.hpp
LM 03d016fd31 etaHEN Goes Open Source
etaHEN Goes Open Source

clean tmp files

....
2025-09-07 11:10:19 -04:00

20 lines
285 B
C++

#pragma once
#include "tetromino.hpp"
#include "well.hpp"
class Painter;
class Game
{
public:
enum Direction { UP, DOWN, LEFT, RIGHT };
Game();
void draw(Painter &);
void tick();
void restart();
void keyEvent(Direction);
private:
Well well_;
Tetromino tetromino_;
};