00001 #ifndef _COLORMAPOBJECT_H_ 00002 #define _COLORMAPOBJECT_H_ 00003 00004 class ColorMapObject 00005 { 00006 public: 00007 ColorMapObject() { } 00008 virtual ~ColorMapObject() { } 00009 00010 void setColor(int r, int g, int b) { _r = r; _g = g; _b = b; } 00011 void setPosition(int x, int z) { _x = x; _z = z; } 00012 00013 int getRed() { return _r; } 00014 int getGreen() { return _g; } 00015 int getBlue() { return _b; } 00016 int getX() { return _x; } 00017 int getZ() { return _z; } 00018 00019 protected: 00020 int _x, _z; 00021 int _r, _g, _b; 00022 }; 00023 00024 #endif