basic movement

This commit is contained in:
2026-03-14 22:27:54 +01:00
parent b19f595daf
commit 2983b919cd
24 changed files with 368 additions and 57 deletions

View File

@@ -19,9 +19,13 @@ namespace Game::Renderer {
std::string getId();
float getWidth();
float getHeight();
bool isTiled() { return mIsTiled; }
void setTiled(bool tiled) { mIsTiled = tiled; }
protected:
SDL_Texture* mTex;
std::string mId;
private:
bool mIsTiled = false; // Whether the texture is a tileset that should be rendered as a single tile or not
};
}