com.WorldLibAndroid
Class Color

java.lang.Object
  extended by com.WorldLibAndroid.Color
All Implemented Interfaces:
IColor

public class Color
extends java.lang.Object
implements IColor

Color class to hold the color of an object.

Author:
Christian Herrera

Constructor Summary
Color(int color)
          Constructor
 
Method Summary
 int thisColor()
          Returns the integer representing a color.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Color

public Color(int color)
Constructor

Parameters:
color - to fill the object with.
Method Detail

thisColor

public int thisColor()
Returns the integer representing a color.

Specified by:
thisColor in interface IColor
Returns:
color representation of the color.