aboutsummaryrefslogtreecommitdiff
path: root/src/components/Component.hpp
blob: 204ee471e0c52bb3597b66990280f9a13b17723c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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;
};

} // namespace cgeditor