123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #ifndef POINT_H_INCLUDED
- #define POINT_H_INCLUDED
- #include <iostream>
- #include <SDL/SDL.h>
- #include <cmath>
- class Point
- {
- public:
- Point(int rayon,Uint32 couleur);
- Point(int rayon,Uint32 couleur,int transparence);
- ~Point();
- int getRayon();
- void afficherPoint(SDL_Surface *screen,int const x, int const y);
- private:
-
- int const m_rayon;
-
- SDL_Surface *m_pixel;
- };
- #endif
|