25 #ifndef WCOLORWRAPPER_H_
26 #define WCOLORWRAPPER_H_
28 #include "../../common/WColor.h"
Wraps the WColor class for scripts.
WColorWrapper(float r, float g, float b, float a)
Contructs a new wrapper.
void setG(float g)
Set the green component.
~WColorWrapper()
Destructor.
float getB() const
Get the blue component.
WColor const & get() const
Get the wrapped color.
float getG() const
Get the green component.
float getR() const
Get the red component.
void setA(float a)
Set the alpha component.
void setR(float r)
Set the red component.
float getA() const
Get the alpha component.
void setB(float b)
Set the blue component.