Initial commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#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;
|
||||
};
|
||||
Reference in New Issue
Block a user