variable max polyo size

This commit is contained in:
2025-03-31 14:12:36 +02:00
parent 6bff555cbc
commit 1a95765877
9 changed files with 87 additions and 35 deletions

View File

@@ -11,8 +11,8 @@
static const double TIME_BETWEEN_FRAMES = (1000.f / FRAMES_PER_SECOND);
GraphApp::GraphApp() {
this->settings = std::make_shared<Settings>();
GraphApp::GraphApp(int maximumPiecesSize) {
this->settings = std::make_shared<Settings>(maximumPiecesSize);
this->menuStack = std::make_shared<MenuStack>();
this->renderWindow = std::make_shared<sf::RenderWindow>();
}