diff options
author | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-05-06 17:51:39 +0000 |
---|---|---|
committer | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-05-06 17:51:39 +0000 |
commit | c475f3de248a25a999dafd4792d0454eb55191c1 (patch) | |
tree | 9fed15b875176bf7bd6ca6d26c9b0d1e3fa8e984 /src/gameScreen.c | |
parent | a62dd3774512041a71f708c0e891893febb8b19e (diff) | |
download | PenguinYippies-c475f3de248a25a999dafd4792d0454eb55191c1.tar.gz PenguinYippies-c475f3de248a25a999dafd4792d0454eb55191c1.tar.bz2 PenguinYippies-c475f3de248a25a999dafd4792d0454eb55191c1.zip |
Builtin shooter thingy going well
Diffstat (limited to 'src/gameScreen.c')
-rw-r--r-- | src/gameScreen.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gameScreen.c b/src/gameScreen.c index 230005d..a735b58 100644 --- a/src/gameScreen.c +++ b/src/gameScreen.c @@ -3,6 +3,7 @@ #include "assets.h" #include "util.h" #include "clicky.h" +#include "shooterScreen.h" #include <raylib.h> void initGameScreen(GameScreen* gameScreen, Game* game) @@ -157,6 +158,13 @@ void updateGameScreenToolBar(GameScreen* gameScreen, Game* game) void updateGameScreen(GameScreen* gameScreen, Game* game) { + + // Testy shooter. + if(IsKeyPressed(KEY_S)) + { + enterShooterScreen(game); + } + // Draw background. Texture background = game->assets.textures[MAIN_SCREEN_BACKGROUND_TEXTURE]; |