Скачиваний:
4
Добавлен:
25.05.2014
Размер:
750 б
Скачать
#ifndef LAB1_H_TA_1223423535356wr45
#define LAB1_H_TA_1223423535356wr45
#define MaxCondition 5
#define dt 0.2
class TSmiley
{
  private:
    int  condition, color, r;
    double x, y, vx, vy;
  public:
    int SetX(int c);
    int SetY(int c);
    int SetCondition(int c);
    int SetColor(int c);
    int SetVx(float c);
    int SetVy(float c);
    int SetR(int c);
    int SetAll(int a, int b, int r=30, int c=0, int d=0,float vx=0, float vy=0);
    TSmiley(int a=0, int b=0, int r=30, int c=0, int d=0,float vx=0, float vy=0);
    TSmiley Move();

    int GetX() const;
    int GetY() const;
    int GetCondition() const;
    int GetColor() const;

    void Paint();


};




#endif  //LAB1_H_TA_1223423535356wr45
Соседние файлы в папке Для специальностей ПМИ-ПМ. Лаба 1 вариант 7