Mario: slightly better editor UI
This commit is contained in:
+8
-1
@@ -5,11 +5,18 @@
|
||||
|
||||
class ToolBox : public SDLPP::RectangleRender {
|
||||
public:
|
||||
ToolBox(int x, int y, int map_width, int map_height, std::shared_ptr<SDLPP::Renderer> renderer);
|
||||
ToolBox(int x, int y, double start_x, double start_y, std::shared_ptr<SDLPP::Renderer> renderer);
|
||||
virtual SDLPP::Vec2D<int> getIndexes() const;
|
||||
virtual void visit( SDLPP::Visitor &visitor ) override;
|
||||
uint64_t getType() const {
|
||||
return _type;
|
||||
}
|
||||
void setType(uint64_t type) {
|
||||
_type = type;
|
||||
}
|
||||
private:
|
||||
int _x;
|
||||
int _y;
|
||||
uint64_t _type;
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user