McRogueFace/src/PyScene.cpp

32 lines
443 B
C++
Raw Normal View History

2024-03-06 15:50:19 +00:00
#include "PyScene.h"
#include "ActionCode.h"
#include "Resources.h"
PyScene::PyScene(GameEngine* g) : Scene(g)
{
}
void PyScene::update()
{
}
void PyScene::doAction(std::string name, std::string type)
{
}
void PyScene::sRender()
{
game->getWindow().clear();
auto vec = *ui_elements;
for (auto e: vec)
{
if (e)
e->render();
}
game->getWindow().display();
McRFPy_API::REPL();
}