Mario Editor: Tool selection alpha

This commit is contained in:
2021-05-07 09:43:57 +02:00
parent c383654349
commit f89d36c177
9 changed files with 123 additions and 10 deletions
+8
View File
@@ -20,6 +20,12 @@ public:
SDLPP::Vec2D<int> getEditBoxIndexes() {
return edit_box_location;
}
bool foundToolBox() {
return tool_box;
}
SDLPP::Vec2D<int> getToolBoxIndexes() {
return tool_box_location;
}
virtual void setVisitorType( uint64_t type ) override {
_type = type;
}
@@ -33,7 +39,9 @@ public:
private:
uint64_t select_flags = 0;
bool edit_box = false;
bool tool_box = false;
SDLPP::Vec2D<int> edit_box_location = {-1, -1};
SDLPP::Vec2D<int> tool_box_location = {-1, -1};
uint64_t _type;
};