diff options
| author | realtradam <[email protected]> | 2023-05-30 18:27:27 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-05-30 18:27:27 -0400 |
| commit | fdffc6ef7cc37ae1c4d78f5f869d2b8f027d5aaa (patch) | |
| tree | f94c6c1a5a523d23b9ddd76c821587f16d84da1e /src/init.c | |
| parent | c43ac3e4ce4375b6fa1fa9927e20ff4f88504429 (diff) | |
| download | TOJam2023-fdffc6ef7cc37ae1c4d78f5f869d2b8f027d5aaa.tar.gz TOJam2023-fdffc6ef7cc37ae1c4d78f5f869d2b8f027d5aaa.zip | |
fix rendering bug and clean up some code
Diffstat (limited to 'src/init.c')
| -rw-r--r-- | src/init.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/init.c b/src/init.c new file mode 100644 index 0000000..f168a33 --- /dev/null +++ b/src/init.c @@ -0,0 +1,23 @@ +#include "init.h" +#include "bullet.h" +#include "player.h" +#include "enemies.h" +#include "wall.h" + +void +init_game_systems(void) +{ + init_bullets(); + init_player(); + init_enemies(); + init_wall(); +} + +void +deinit_game_systems(void) +{ + deinit_bullets(); + deinit_player(); + deinit_enemies(); + deinit_wall(); +} |
