game/mario/edit_box.hpp

16 lines
380 B
C++
Raw Normal View History

2021-05-07 07:43:57 +00:00
#ifndef EDIT_BOX_H
#define EDIT_BOX_H
2021-05-02 12:14:11 +00:00
#include "../sdlpp/sdlpp.hpp"
class EditBox : public SDLPP::RectangleRender {
public:
2021-05-09 18:45:52 +00:00
EditBox(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;
2021-05-02 12:14:11 +00:00
private:
int _x;
int _y;
};
2021-05-07 07:43:57 +00:00
#endif