Bottle 2D - Lua API 1.0.0
All you need to create games using bottle2D.
|
A color, with red, green, blue and alpha value. More...
#include <header.hpp>
Public Member Functions | |
Color () | |
Color (number r, number g, number b) | |
Color (number r, number g, number b, number a) | |
Public Attributes | |
char | r |
char | g |
char | b |
char | a |
A color, with red, green, blue and alpha value.
Min is 0 and max is 255.
Color::Color | ( | ) |
Color::Color | ( | number | r, |
number | g, | ||
number | b | ||
) |
Color::Color | ( | number | r, |
number | g, | ||
number | b, | ||
number | a | ||
) |
char Color::a |
char Color::b |
char Color::g |
char Color::r |