summaryrefslogtreecommitdiff
path: root/src/game.h
blob: 4aa377b0ed19ad1aaed893dad4b06bfb871a07f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef GAME_H_
#define GAME_H_
/*
 * Defines the data needed for the game scene
 * the data for the game is stored as a global variable
 * of type struct game defined in game.c
 */
#include "entity.h"
#include "constants.h"

struct game {
  struct entity entities[MAX_ENTITY_COUNT];
};

void update_game(float dt);
void draw_game();
void init_game();

#endif