00001
00002
00003 #pragma once
00004
00005 #ifndef TFPOINT_H
00006 #define TFPOINT_H
00007
00008 #include "Color.h"
00010 class TfPoint
00011 {
00012 public:
00013 TfPoint(const float _x, const float _y, Color *_color);
00014 ~TfPoint();
00015
00016 void setX(const float _x);
00017 void setY(const float _y);
00018 void setColor(Color *_color);
00019
00020 float getX();
00021 float getY();
00022 float getSize();
00023 Color *getColor();
00024
00025 bool hasNext();
00026 TfPoint* getNext();
00027 void setNext(TfPoint *_next);
00028
00029
00030 private:
00032 float x;
00034 float y;
00036 float size;
00038 Color *color;
00040 TfPoint *next;
00041 };
00042 #endif