nov_tick
void nov_tick(NovClient* c);
Advances the client.
Parameters#
- c (
NovClient*): client returned bynov_create
Example#
nov_tick(c);
NovEvent ev;
while (nov_next_event(c, &ev)) {
switch (ev.type) {
case NOV_WELCOME: break;
case NOV_SPAWN: break;
}
}
Notes#
- Once per frame.
- All calls must come from the same thread.