mirror of
https://github.com/bailwillharr/engine.git
synced 2024-09-21 13:01:19 +00:00
12 lines
243 B
C++
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
|