Fully python-driven scene. Lots of interaction needs testing but the broad strokes are there for mouse pan/zoom on multiple grids and any number of UIs

This commit is contained in:
John McCardle 2023-03-04 23:04:16 -05:00
commit 257aa3c3d2
8 changed files with 191 additions and 3 deletions

View file

@ -42,7 +42,7 @@ public:
// Jank mode engage: let the API hold data for Python to hack on
static std::map<std::string, UIMenu*> menus;
EntityManager entities; // this is also kinda good, entities not on the current grid can still act (like monsters following you through doors??)
static EntityManager entities; // this is also kinda good, entities not on the current grid can still act (like monsters following you through doors??)
static std::map<std::string, Grid*> grids;
static std::map<std::string, PyObject*> callbacks;