Grid - widget for holding multi-layer map data
This commit is contained in:
parent
6d05f8bc63
commit
2c1946c29b
4 changed files with 216 additions and 11 deletions
|
|
@ -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*);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue