TazGraph Project v0.1.0
Loading...
Searching...
No Matches
EmptyPythonCodeComponent.h
1#pragma once
2
3#include "../../../Components.h"
4
5// public Component need to be first for scanning
6class EmptyPythonCodeComponent : public Component, public PythonCodeComponent//transform as in graphics, we have rotation and scale
7{
8public:
9
11 {
12 }
13
14
15 void init() override
16 {
17 PythonCodeComponent::init();
18 }
19 void update(float deltaTime) override
20 {
22
23
24 }
25
26 std::string GetComponentName() override {
27 return "EmptyPythonCodeComponent";
28 }
29
30 void showGUI(std::vector<BaseComponent*> otherComponents = {}) override {
31 if (ImGui::CollapsingHeader("Script"))
32 {
33 PythonCodeComponent::showGUI();
34
35
36 }
37
38 };
39
40 void showGUI(std::vector<BaseComponent*> otherComponents, std::vector<Entity*> otherEntities) override {
41 ImGui::TextDisabled("Modify Script Components Seperately");
42
43 }
44};
Definition GECS.h:131
Definition EmptyPythonCodeComponent.h:7
Definition PythonCodeComponent.h:9
void update(float deltaTime)
Definition PythonCodeComponent.h:55