![]() |
xyginext
0.2.0
Second generation of xygine game creation framework
|
Allows attaching a callback function to an entity. More...
#include <Callback.hpp>
Public Attributes | |
| bool | active = false |
| disabling callbacks when not in use can avoid unnecessary cache misses looking up callback functions | |
| CallbackFunction | function |
| std::any | userData |
| Optionally store any data required by the function here (or use a functor) | |
Allows attaching a callback function to an entity.
1.8.18