You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
project-kyoku/modes/classicmode/classicfactory.cpp

19 lines
413 B
C++

#include "shared/classicmode/classicfactory.h"
#include "game/classicgame.h"
#include "graphics/classicgraphicsmanager.h"
#include "tools/music.h"
#include "editor/classiceditor.h"
#include <SFML/Graphics/RenderWindow.hpp>
std::unique_ptr<Game> classic::initGame()
{
return std::make_unique<ClassicGame>();
}
std::unique_ptr<Editor> classic::initEditor()
{
return std::make_unique<ClassicEditor>();
}