In-work: Python segfaults when adding new objects to module

This commit is contained in:
John McCardle 2023-08-25 21:57:42 -04:00
commit ac0ec4bb71
10 changed files with 529 additions and 16 deletions

21
src/UITestScene.h Normal file
View file

@ -0,0 +1,21 @@
#pragma once
#include "Common.h"
#include "Scene.h"
#include "GameEngine.h"
#include <list>
#include "UI.h"
class UITestScene: public Scene
{
sf::Text text;
UIFrame e1, e1a, e1aa;
UICaption e2;
std::vector<UIDrawable*> ui_elements;
public:
UITestScene(GameEngine*);
void update() override final;
void doAction(std::string, std::string) override final;
void sRender() override final;
};