org.lee.mugen.sprite.entity
Class RGB

java.lang.Object
  extended by org.lee.mugen.sprite.entity.RGB

public class RGB
extends java.lang.Object


Constructor Summary
RGB()
           
RGB(float r, float g, float b)
           
RGB(float r, float g, float b, float a)
           
 
Method Summary
 RGB add(RGB rgb)
           
 float getA()
           
 float getB()
           
 float getG()
           
 float getR()
           
 RGB mul(RGB rgb)
           
 void setA(float a)
           
 void setB(float b)
           
 void setG(float g)
           
 void setR(float r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RGB

public RGB(float r,
           float g,
           float b)

RGB

public RGB(float r,
           float g,
           float b,
           float a)

RGB

public RGB()
Method Detail

getA

public float getA()

setA

public void setA(float a)

getB

public float getB()

setB

public void setB(float b)

getG

public float getG()

setG

public void setG(float g)

getR

public float getR()

setR

public void setR(float r)

mul

public RGB mul(RGB rgb)

add

public RGB add(RGB rgb)