Mario Editor: Tool selection alpha

This commit is contained in:
2021-05-07 09:43:57 +02:00
parent c383654349
commit f89d36c177
9 changed files with 123 additions and 10 deletions
+6 -5
View File
@@ -1,14 +1,15 @@
#ifndef EDIT_BOX_H
#define EDIT_BOX_H
#include "../sdlpp/sdlpp.hpp"
#include "objectids.hpp"
#include "blocks.hpp"
#include "sprites.hpp"
class EditBox : public SDLPP::RectangleRender {
public:
EditBox(int x, int y, std::shared_ptr<SDLPP::Renderer> renderer);
SDLPP::Vec2D<int> getIndexes() const;
void visit( SDLPP::Visitor &visitor ) override;
virtual SDLPP::Vec2D<int> getIndexes() const;
virtual void visit( SDLPP::Visitor &visitor ) override;
private:
int _x;
int _y;
};
#endif