TazGraph Project v0.1.0
Loading...
Searching...
No Matches
InnerLink.h
1#pragma once
2
3#include "../../../Components.h"
4
5class InnerLink : public LinkComponent //transform as in graphics, we have rotation and scale
6{
7public:
8 EntityID first_pathLink = 0;
9 EntityID second_pathLink = 0;
10
11 InnerLink()
12 {
13 }
14
16 EntityID first,
17 EntityID second
18 ) :
19 first_pathLink(first),
20 second_pathLink(second)
21 {
22
23 }
25 {
26 }
27
28 void init() override
29 {
30 }
31 void update(float deltaTime) override
32 {
33
34 }
35
36 std::string GetComponentName() override {
37 return "InnerLink";
38 }
39
40 void showGUI(std::vector<BaseComponent*> otherComponents = {}) override {
41 ImGui::Separator();
42
43
44 };
45
46 void showGUI(std::vector<BaseComponent*> otherComponents, std::vector<Entity*> otherEntities) override {
47 ImGui::Separator();
48 };
49};
Definition GECS.h:141