26 lines
474 B
C++
26 lines
474 B
C++
/*
|
|
* main.cpp
|
|
*
|
|
* Created on: 19.07.2012
|
|
* Author: Felix
|
|
*/
|
|
|
|
#include "Game.h"
|
|
#include "util/Loader.h"
|
|
|
|
/**
|
|
* Creates Game object.
|
|
*/
|
|
int main(int argc, char* argv[]) {
|
|
Loader::i().setFolder("resources/");
|
|
Loader::i().setSubFolder<sf::Texture>("textures/");
|
|
|
|
sf::RenderWindow window(sf::VideoMode(800, 600, 32), "Dungeon Gunner",
|
|
sf::Style::Close | sf::Style::Titlebar);
|
|
|
|
Game game(window);
|
|
|
|
game.loop();
|
|
|
|
return 0;
|
|
}
|