Playing around with buttons
This commit is contained in:
@@ -47,7 +47,7 @@ public:
|
||||
uint64_t getToolType() const {
|
||||
return tool_box_type;
|
||||
}
|
||||
const Button *getCurButton() {
|
||||
uint64_t getCurButton() const {
|
||||
return cur_button;
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ private:
|
||||
SDLPP::Vec2D<int> tool_box_location = { -1, -1 };
|
||||
uint64_t _type{};
|
||||
uint64_t tool_box_type = 0;
|
||||
const Button *cur_button;
|
||||
uint64_t cur_button = -1;
|
||||
};
|
||||
|
||||
class ToolVisitor : public SDLPP::Visitor {
|
||||
|
||||
Reference in New Issue
Block a user