tmxlite 1.0.0
lightweight parse for Tiled maps
|
Contains the red, green, blue and alpha values of a colour in the range 0 - 255. More...
#include <Types.hpp>
Public Member Functions | |
Colour (std::uint8_t red=0, std::uint8_t green=0, std::uint8_t blue=0, std::uint8_t alpha=255) | |
bool | operator== (const Colour &other) |
bool | operator!= (const Colour &other) |
operator std::uint32_t () const | |
Public Attributes | |
std::uint8_t | r |
std::uint8_t | g |
std::uint8_t | b |
std::uint8_t | a |
Contains the red, green, blue and alpha values of a colour in the range 0 - 255.