-
Notifications
You must be signed in to change notification settings - Fork 0
time_system::timer
Paweł Waligóra edited this page May 5, 2024
·
3 revisions
#include<timer.h>
time_system::timer t; // declare timer object
t.events.subscribe([](){printf("hello world!\n");}); // add a function to call when timer finishes.
t.start(5.0f); // set timer for 5 seconds
for different ways to add and remove functions in time::timer::events
refer to engine::event_subscription_list
- engine
- scripts_system
- scene_loader
- time_system
-
input_system
- input_system::key_held
- input_system::key_events
- input_system::subscribe() (deprecated)
- input_system::axis_state()
- input_system::key_bind
- input_system::axis
- input_system::double_axis
- input_system::triple_axis
- input_system::axis2
- input_system::double_axis2
- input_system::triple_axis2
- input_system::axis-choice
- renderer
- physics
- ui_system
- game