Mario editor: don't delete characters when changing terrain

This commit is contained in:
2021-05-02 14:43:15 +02:00
parent 8b8f3b7f06
commit ad7f737e16
3 changed files with 16 additions and 7 deletions
+2
View File
@@ -9,8 +9,10 @@ public:
MarioBlock(int x, int y, std::shared_ptr<SDLPP::Renderer> renderer, std::shared_ptr<SDLPP::Texture> texture, SDL_Rect src);
void visit( SDLPP::Visitor &visitor ) override;
void setTool(bool tool = true);
void setCharacter(bool character = true);
private:
bool _tool = false;
bool _character = false;
};
extern const std::vector<uint64_t> possibleBlocks;