TazGraph Project v0.1.0
Loading...
Searching...
No Matches
templateComponent.h
1#pragma once
2
3#include "../Components.h"
4
5class templateComponent : public Component //transform as in graphics, we have rotation and scale
6{
7public:
8 std::string last_position = "";
9
10
12 {
13 }
14
15
16 void init() override
17 {
18 }
19 void update(float deltaTime) override
20 {
21
22
23
24 }
25
26 std::string GetComponentName() override {
27 return "templateComponent";
28 }
29
30 void showGUI(std::vector<BaseComponent*> otherComponents = {}) override {
31 ImGui::Separator();
32
33
34 };
35
36 void showGUI(std::vector<BaseComponent*> otherComponents, std::vector<Entity*> otherEntities) override {
37 ImGui::Separator();
38 }
39};
Definition GECS.h:131
Definition templateComponent.h:6