Mario editor: more terrain, can place Mario

This commit is contained in:
2021-05-07 23:17:05 +02:00
parent 85807ca962
commit c849895c72
8 changed files with 253 additions and 39 deletions
+2 -2
View File
@@ -9,10 +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);
void setTerrain(bool terrain = true);
private:
bool _tool = false;
bool _character = false;
bool _terrain = true;
};
extern const std::vector<uint64_t> possibleBlocks;