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

Upload New File

parent 8ff0d765
Branches
No related tags found
No related merge requests found
#ifndef AMOEBA_WIDGET_HPP
#define AMOEBA_WIDGET_HPP
#include "oswidget.hpp"
#include "graphics.hpp"
class AmoebaWidget : public OSWidget {
private:
static const int path = 15;
char board[path][path];
int cellSize;
int cellPadding;
int currentPlayer;
public:
AmoebaWidget(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_WIDGET_HPP
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment