project-kyoku/modes/classicmode/classicfactory.cpp

19 lines
409 B
C++
Raw Normal View History

#include "shared/classicmode/classicfactory.h"
#include "game/classicgame.h"
2021-12-21 18:07:19 +01:00
#include "game/classicgraphicsmanager.h"
#include "tools/music.h"
#include "editor/classiceditor.h"
#include <SFML/Graphics/RenderWindow.hpp>
2021-12-21 18:07:19 +01:00
std::unique_ptr<Game> classic::initGame()
{
2021-12-21 18:07:19 +01:00
return std::make_unique<ClassicGame>();
}
2021-12-21 18:07:19 +01:00
std::unique_ptr<Editor> classic::initEditor()
{
2021-12-21 18:07:19 +01:00
return std::make_unique<ClassicEditor>();
}