mirror of
https://github.com/bailwillharr/engine.git
synced 2024-09-21 13:01:19 +00:00
14 lines
259 B
C
14 lines
259 B
C
|
#ifndef ENGINE_INCLUDE_COMPONENTS_CUSTOM_H_
|
||
|
#define ENGINE_INCLUDE_COMPONENTS_CUSTOM_H_
|
||
|
|
||
|
#include <functional>
|
||
|
|
||
|
namespace engine {
|
||
|
|
||
|
struct CustomComponent {
|
||
|
std::function<void(float)> onUpdate; // void onUpdate(float ts);
|
||
|
};
|
||
|
|
||
|
} // namespace engine
|
||
|
|
||
|
#endif
|