mirror of
https://gitlab.com/manzerbredes/cgeditor.git
synced 2025-04-19 03:59:44 +00:00
19 lines
No EOL
326 B
C++
19 lines
No EOL
326 B
C++
#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
|