This commit is contained in:
Andrea Blankenstijn 2021-07-21 00:04:21 +02:00
parent 897c863fdd
commit 738ce45c52
2 changed files with 2 additions and 3 deletions

View File

@ -4,9 +4,9 @@
#include <SDL2/SDL_rect.h>
#include <SDL2/SDL_stdinc.h>
#include <basic_widgets/w/base/widget.hpp>
#include <basic_widgets/w/feat/mouse_handler.hpp>
#include <basic_widgets/w/feat/texture_handler.hpp>
#include <basic_widgets/w/base/widget.hpp>
extern "C" { Uint32 SDL_RegisterEvents(int); }

View File

@ -5,8 +5,7 @@
using namespace game::data;
Board::Board(int w, int h)
: width(w), height(h)
{
width = w;
height = h;
squares.resize(w * h, {});
}