Grid - widget for holding multi-layer map data

This commit is contained in:
John McCardle 2023-02-27 07:02:34 -05:00
commit 2c1946c29b
4 changed files with 216 additions and 11 deletions

View file

@ -6,6 +6,7 @@
#include "Button.h"
#include "UIMenu.h"
#include "VectorShape.h"
#include "Grid.h"
class UITestScene: public Scene
{
@ -21,6 +22,7 @@ class UITestScene: public Scene
float zoom = 1;
sf::Vector2f resolution;
int grid_spacing = 500;
Grid grid;
public:
UITestScene(GameEngine*);