Mario editor: don't delete characters when changing terrain
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user