Changing engine to shared library

This commit is contained in:
Dynamitos committed 2023-08-26 15:19:12 +02:00
1 parent 4ab924f251
commit dcbce27fb2
20 files changed
+93 -47

No files matched your search

+1 -3
View File
@@ -7,8 +7,6 @@
using namespace Seele;
AssetRegistry* instance = new AssetRegistry();
GameView::GameView(Gfx::PGraphics graphics, PWindow window, const ViewportCreateInfo &createInfo, std::string dllPath)
: View(graphics, window, createInfo, "Game")
, gameInterface(dllPath)
@@ -73,7 +71,7 @@ void GameView::render()
void GameView::reloadGame()
{
scene = new Scene(graphics);
gameInterface.reload(instance);
gameInterface.reload(AssetRegistry::getInstance());
systemGraph = new SystemGraph();
gameInterface.getGame()->setupScene(scene, systemGraph);