Files
game/mario/edit_box.hpp
T

16 lines
349 B
C++
Raw Normal View History

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