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,16 @@
#ifndef SCENE_H
#define SCENE_H
typedef struct State State;
typedef struct Scene {
char *id;
void (*tick)(State *);
void (*end)(State *);
} Scene;
void switch_to(State *state, Scene *(*scene_func)(State *));
#endif