first commit

This commit is contained in:
2026-06-05 11:45:04 +03:00
commit b457544071
29 changed files with 1725 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
#pragma once
#include <vector>
#include "Figure.h"
class GameField
{
private:
size_t m_Width = 0;
size_t m_Height = 0;
std::vector<std::vector<wchar_t>> m_Field;
public:
void resize(
size_t width,
size_t height
);
void render(
PaintDevice& paintDevice
);
bool has_collision(
const Figure& figure
);
void merge(
const Figure& figure
);
int clear_lines();
};