game/mario/edit_box.hpp
zv0n 8ca70fa11e
Some checks failed
continuous-integration/drone/push Build is failing
Mario: formatting
2021-10-18 09:08:35 +02:00

18 lines
421 B
C++

#ifndef EDIT_BOX_H
#define EDIT_BOX_H
#include "../sdlpp/sdlpp.hpp"
class EditBox : public SDLPP::RectangleRender {
public:
EditBox(int x, int y, float start_x, float start_y, int map_width,
int map_height, 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