Skip to content
Snippets Groups Projects
Commit 8f82998f authored by Susa Márk's avatar Susa Márk
Browse files

Upload New File

parent 1fb6aabc
Branches
No related tags found
No related merge requests found
#ifndef AMOEBA_HPP
#define AMOEBA_HPP
#include "oswidget.hpp"
#include "button.hpp"
#include "gamelogic.hpp"
#include "amoebawidget.hpp"
class Amoeba : public OSWidget {
private:
GameLogic gameLogic;
AmoebaWidget widget;
int cellSize;
int cellPadding;
bool gameStarted;
bool gameEnded;
Button* startButton;
Button* winnerButton;
Button* restartButton;
void restartGame();
public:
Amoeba(Window* window, int pos_x, int pos_y, int width, int height);
virtual void draw() const override;
virtual void handle(genv::event ev) override;
};
#endif // AMOEBA_HPP
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment