2020-01-06 00:02:32 -08:00
|
|
|
//
|
|
|
|
// Created by aurailus on 2019-12-28.
|
|
|
|
//
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2020-08-13 00:55:18 -07:00
|
|
|
#include "Scene.h"
|
2020-07-06 14:00:46 -07:00
|
|
|
|
2021-08-04 22:17:40 -07:00
|
|
|
#include "client/Window.h"
|
2021-08-23 23:31:29 -07:00
|
|
|
#include "client/gui/Root.h"
|
|
|
|
|
|
|
|
namespace Gui { class TextElement; };
|
2020-01-06 00:02:32 -08:00
|
|
|
|
|
|
|
class LuaErrorScene : public Scene {
|
2021-08-19 13:33:08 -07:00
|
|
|
public:
|
2020-11-08 22:57:34 -08:00
|
|
|
LuaErrorScene(Client& client, const std::string& err);
|
|
|
|
|
|
|
|
void update() override;
|
|
|
|
|
|
|
|
void draw() override;
|
|
|
|
|
2021-08-19 13:33:08 -07:00
|
|
|
private:
|
2021-08-04 22:17:40 -07:00
|
|
|
|
2021-08-23 23:31:29 -07:00
|
|
|
Gui::Root root;
|
2020-01-06 00:02:32 -08:00
|
|
|
};
|