move platformes and scenery to /apps/demos/

This commit is contained in:
2024-10-11 19:26:46 +03:00
parent 9c01264fd0
commit 4ac87b3021
26 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#include "scene.h"
#include "../state.h"
void switch_to(State *state, Scene *(*scene_func)(State *)) {
state->next_scene = scene_func(state);
state->is_scene_switching = true;
}