aboutsummaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game.c b/src/game.c
index e39901e..a5bec7b 100644
--- a/src/game.c
+++ b/src/game.c
@@ -22,6 +22,9 @@ void initGame(Game * game) {
// How to play screen.
initHowToPlayScreen(game);
+ // Info screen.
+ initInfoScreen(game);
+
// Camera.
initCameras(game, game->cameras);
@@ -68,6 +71,10 @@ void updateGame(Game * game) {
break;
case HOW_TO_PLAY_SCREEN:
updateHowToPlayScreen(game);
+ break;
+ case INFO_SCREEN:
+ updateInfoScreen(game);
+ break;
default:
break;
}