variable max polyo size
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user