In-work: Python segfaults when adding new objects to module
This commit is contained in:
parent
a455c44b34
commit
ac0ec4bb71
10 changed files with 529 additions and 16 deletions
21
src/UITestScene.h
Normal file
21
src/UITestScene.h
Normal 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;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue