aboutsummaryrefslogtreecommitdiffstats
path: root/src/game.c
blob: a09326999760bb487f9f67c8af8e325965375343 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "game.h"

void initGame(Game* game)
{
    InitWindow(WINDOW_WIDTH, WINDOW_HEIGHT, "Penguin Yippies!");
}

void updateGame(Game* game)
{
    BeginDrawing();
    ClearBackground(RAYWHITE);

    DrawFPS(0, 0);

    EndDrawing();
}

void closeGame(Game* game)
{
    CloseWindow();
}