Скачиваний:
42
Добавлен:
16.04.2013
Размер:
662 б
Скачать
//---------------------------------------------------------------------------

#ifndef ball1H
#define ball1H
//---------------------------------------------------------------------------
#endif

float pi=3.1415;
int R=50;
class CBall
{
  private:
    TImage* Img;

  public:
    float x,y,v,vx,vy,t,angle,angle0;
    void Hide();
    int excp() {return 0;};
    void MoveToAngle(float Dang);
    void Fly(int dx, int dy);
    CBall (TImage* _Img);
};

class CSupport
{
  private:
    TImage* Img;

  public:
    float xc,yc;
    float angle;
    void Hide();
    void RotateToAngle(float Dang);
    CSupport (TImage* _Img);
};
Соседние файлы в папке part2_1