holesome/src/main.cpp

18 lines
390 B
C++

#include <SFML/Graphics.hpp>
#include <iostream>
#include "logging/easylogging++.h"
#include "game/game_factory.hpp"
#include "debug/grid_debug_layer.h"
INITIALIZE_EASYLOGGINGPP
int main(int argc, char *argv[])
{
START_EASYLOGGINGPP(argc, argv);
auto game = GameFactory::createWindowed("Holesome");
game->addGameObject(new GridDebugLayer(0, 50, 0, 50));
game->run();
}