Mario: slightly better editor UI

This commit is contained in:
2021-05-28 19:51:02 +02:00
parent af3588501a
commit 9d9068091b
9 changed files with 503 additions and 88 deletions
+8 -1
View File
@@ -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