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

Upload New File

parent 16dd0f0d
No related branches found
No related tags found
No related merge requests found
#ifndef AMOEBAWIDGET_HPP
#define AMOEBAWIDGET_HPP
#include "gamelogic.hpp"
#include "graphics.hpp"
class AmoebaWidget {
public:
AmoebaWidget(int cellSize, int cellPadding);
void draw(const GameLogic& game, int pos_x, int pos_y, int width, int height) const;
private:
int cellSize;
int cellPadding;
void clearArea(int pos_x, int pos_y, int width, int height) const;
};
#endif // AMOEBAWIDGET_HPP
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment