2P11/src/View/MainWindow.cpp

26 lines
319 B
C++
Raw Normal View History

#include "MainWindow.hpp"
MainWindow::MainWindow(int width, int height, std::string title):
RenderWindow(sf::VideoMode(width,height), title),
skin()
{
//Define skin:
skin.push_back(sf::Color(250,248,239));
}
MainWindow::~MainWindow(){
}
void MainWindow::clearMW(){
RenderWindow::clear(skin.at(0));
}