blob: 564660a9bf7eb7bd12f90e696117ffae97fa182c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include "Types.hpp"
#include <vector>
namespace cgeditor {
class Component {
protected:
Status *status;
std::vector<Element> elements;
public:
Component(Status *s) : status(s){};
std::vector<Element> GetElements() { return (this->elements); }
virtual void Refresh() = 0;
virtual void SyncCache() {};
};
} // namespace cgeditor
|