engine/include/components/custom.h
2024-03-31 11:11:22 +01:00

12 lines
239 B
C++

#pragma once
#include <functional>
namespace engine {
struct CustomComponent {
std::function<void(void)> onInit; // void onInit(void);
std::function<void(float)> onUpdate; // void onUpdate(float ts);
};
} // namespace engine