basic movement
This commit is contained in:
@@ -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
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user