Collab_RPG/src/game.h

23 lines
561 B
C
Raw Normal View History

#ifndef GAME_H
#define GAME_H
#include "mapstruct.h"
#include "player.h"
/* This struct will contain all the data of the game. It will make it possible
* to pass it to the NPCs to let them interact with the player and the rest of
* the world. */
typedef struct {
Map *map_level; /* The level that the player is currently playing */
Player player; /* The player data (see player.h). */
} Game;
/* (Mibi88) TODO: Describe what this function is doing. */
void game_logic(Game *game);
/* Draws everything on screen. */
void draw(Game *game);
#endif