16 lines
349 B
C++
16 lines
349 B
C++
|
#ifndef TOOL_BOX_H
|
||
|
#define TOOL_BOX_H
|
||
|
|
||
|
#include "../sdlpp/sdlpp.hpp"
|
||
|
|
||
|
class ToolBox : public SDLPP::RectangleRender {
|
||
|
public:
|
||
|
ToolBox(int x, int y, std::shared_ptr<SDLPP::Renderer> renderer);
|
||
|
virtual SDLPP::Vec2D<int> getIndexes() const;
|
||
|
virtual void visit( SDLPP::Visitor &visitor ) override;
|
||
|
private:
|
||
|
int _x;
|
||
|
int _y;
|
||
|
};
|
||
|
#endif
|