class pong { public: pong(); private: void init(); void initGame(); void initScreen(); void game(); ball* pallo; SDL_Surface *screen; }; // Constructor pong::pong() { } void pong::init() { } . . .