# ifndef TERRAIN_HEADER_FILE # define TERRAIN_HEADER_FILE // Basiques # include # include // Random # include # include // SDL # include # undef main # include // bBox2D # include # define MULTI 100.0f class Terrain { public: Terrain( const unsigned int size ); ~Terrain(); void addPlot( float x, float y ); void build( b2World &world ); void draw( SDL_Surface* screen, b2Vec2 origin ); protected : const unsigned int m_size ; unsigned int m_nextAdd ; b2Vec2* m_plot; // Static array }; # endif // TERRAIN_HEADER_FILE