#ifndef WINDOW_HPP
#define WINDOW_HPP

#include <SDL/SDL.h>

#include "renderer.hpp"
#include "settings.hpp"

using namespace std;

//-----------
class CWindow
{
  private:
    CRenderer *lRenderer;
    SDL_Surface *lSurface;

    float lFreeze;
    bool lQuit;
    int lMinFPS;
    int lMaxFPS;
    int lTotalFrames;
    int lTotalSeconds;

  public:
    CWindow(const string &, const CSettings &);
    ~CWindow();

    void Run();
};

#endif // WINDOW_HPP
