Created DungeonEditor and Canvas

This commit is contained in:
scawful
2022-07-09 22:46:20 -04:00
parent e5ce274508
commit 31f1850800
10 changed files with 259 additions and 85 deletions

View File

@@ -20,6 +20,7 @@ class Bitmap {
int GetWidth() const { return width_; }
int GetHeight() const { return height_; }
void CreateTexture(std::shared_ptr<SDL_Renderer> renderer);
uchar *GetData() const { return pixel_data_; }
SDL_Texture *GetTexture() const { return texture_; }
private: