blob: 8dbefced7f6a9ed72a496ab708ffcb2b3451dcd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef EDITOR_RUN_SCRIPT_H
#define EDITOR_RUN_SCRIPT_H
#include "reference.h"
class EditorNode;
class EditorScript : public Reference {
OBJ_TYPE( EditorScript, Reference );
EditorNode *editor;
protected:
static void _bind_methods();
public:
void add_root_node(Node *p_node);
Node *get_scene();
virtual void _run();
void set_editor(EditorNode *p_editor);
EditorScript();
};
#endif // EDITOR_RUN_SCRIPT_H
|