Bottle 2D - Lua API 1.0.0
All you need to create games using bottle2D.
Public Member Functions | Public Attributes

Color Class Reference

A color, with red, green, blue and alpha value. More...

#include <header.hpp>

List of all members.

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

Detailed Description

A color, with red, green, blue and alpha value.

Min is 0 and max is 255.


Constructor & Destructor Documentation

Color::Color ( )
Color::Color ( number  r,
number  g,
number  b 
)
Color::Color ( number  r,
number  g,
number  b,
number  a 
)

Member Data Documentation

char Color::a
char Color::b
char Color::g
char Color::r

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables