Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bevprog_2_bead_3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Susa Márk
bevprog_2_bead_3
Commits
0b6d8c20
Commit
0b6d8c20
authored
1 year ago
by
Susa Márk
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
8ff0d765
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
1.1.1.hpp
+21
-0
21 additions, 0 deletions
1.1.1.hpp
with
21 additions
and
0 deletions
1.1.1.hpp
0 → 100644
+
21
−
0
View file @
0b6d8c20
#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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment