tex
This commit is contained in:
@@ -48,6 +48,7 @@ namespace Game::Object {
|
||||
std::string mName;
|
||||
std::shared_ptr<Game::Renderer::Texture> mTex;
|
||||
Transform mTransform;
|
||||
bool mIsFlipped = false; // Whether the texture should be rendered flipped horizontally or not
|
||||
bool mIsActive;
|
||||
int mZIndex = 0; // For rendering order; higher zIndex renders on top of lower zIndex
|
||||
float mTiledScale = 1.f; // Only used if the texture is tiled, to determine how much to scale the texture when rendering (since the entire texture is rendered as a single tile, this is necessary to be able to have different sized tiles)
|
||||
|
||||
Reference in New Issue
Block a user