TazGraph Project
v0.1.0
Loading...
Searching...
No Matches
TazGraph
Src
EditorIMGUI
Components
EntityGroupsControl
EntityGroupsControl.h
1
#pragma once
2
3
#include "../../UIElement.h"
4
5
struct
EntityGroupsConfig
{
6
IScene
* scene;
7
Entity
* displayedEntity =
nullptr
;
8
};
9
10
class
EntityGroupsControlPanel
:
public
UIElement
11
{
12
private
:
13
EntityGroupsConfig
config;
14
15
EntityID _lastEntityDisplayed = 0;
16
17
public
:
18
EntityGroupsControlPanel
() {
19
}
20
21
void
setConfig(
const
EntityGroupsConfig
& cfg) { config = cfg; }
22
void
OnImGuiRender()
override
;
23
};
EntityGroupsControlPanel
Definition
EntityGroupsControl.h:11
Entity
Definition
GECS.h:224
IScene
Definition
IScene.h:25
UIElement
Definition
UIElement.h:16
EntityGroupsConfig
Definition
EntityGroupsControl.h:5
Generated by
1.9.8