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