2021-05-07 07:43:57 +00:00
|
|
|
#ifndef TOOL_BOX_H
|
|
|
|
#define TOOL_BOX_H
|
|
|
|
|
|
|
|
#include "../sdlpp/sdlpp.hpp"
|
|
|
|
|
|
|
|
class ToolBox : public SDLPP::RectangleRender {
|
|
|
|
public:
|
2021-05-09 18:45:52 +00:00
|
|
|
ToolBox(int x, int y, int map_width, int map_height, std::shared_ptr<SDLPP::Renderer> renderer);
|
2021-05-07 07:43:57 +00:00
|
|
|
virtual SDLPP::Vec2D<int> getIndexes() const;
|
|
|
|
virtual void visit( SDLPP::Visitor &visitor ) override;
|
|
|
|
private:
|
|
|
|
int _x;
|
|
|
|
int _y;
|
|
|
|
};
|
|
|
|
#endif
|