]> git.lizzy.rs Git - nothing.git/blob - src/game/credits.h
acff02ef1b4d580cb5dbbb363be62d9a920cc2e0
[nothing.git] / src / game / credits.h
1 #ifndef CREDITS_H_
2 #define CREDITS_H_
3
4 #include <SDL.h>
5
6 #include "game/camera.h"
7
8 typedef struct Credits Credits;
9
10 Credits *create_credits(void);
11 void destroy_credits(Credits *credits);
12
13 int credits_render(const Credits *credits,
14                    const Camera *camera);
15 int credits_update(Credits *credits,
16                                    Camera *camera, float dt);
17
18 #endif  // CREDITS_H_