21 lines
383 B
C++
21 lines
383 B
C++
#pragma once
|
|
|
|
#include "raylibCpp.h"
|
|
#include <vector>
|
|
#include "Vec2.h"
|
|
#include "Settings.h"
|
|
|
|
class Board {
|
|
public:
|
|
Board(Vec2<int> screenPos, Vec2<int> widthHeight, int padding);
|
|
void DrawBorder() const;
|
|
void Draw() const;
|
|
int GetWidth() const;
|
|
int GetHeight() const;
|
|
private:
|
|
int width;
|
|
int height;
|
|
const int padding;
|
|
Vec2<int> size;
|
|
Vec2<int> screenPos;
|
|
}; |