32 std::uint8_t
red{255};
File : Ammo.hpp License: MIT Author : Elias Josué HAJJAR LLAUQUEN elias-josue.hajjar-llauquen@epitech...
Component representing a sprite.
std::string texturePath
Identifier for the texture resource.
std::uint8_t blue
Blue color component.
int rectLeft
Left position of the texture rectangle.
int rectHeight
Height of the texture rectangle.
std::uint8_t red
Red color component.
std::uint8_t opacity
Opacity of the sprite (0-255)
std::uint8_t green
Green color component.
int rectTop
Top position of the texture rectangle.
int zIndex
Z-index for rendering order.
int rectWidth
Width of the texture rectangle.