engine/include/component_custom.h
2024-06-01 23:03:39 +01:00

12 lines
243 B
C++

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