pvjc20/final/commands.h

28 lines
567 B
C
Raw Normal View History

2020-05-21 16:06:40 +00:00
#ifndef _COMMANDS_H_INCLUDE_
#define _COMMANDS_H_INCLUDE_
#include "game.h"
//Shows user a guide how to play
void welcome_screen();
//Initialize the screen with all configurations
void init_screen();
//Draw path after the player
void draw_path(struct game* game);
//Check there is something on the way
int direction_check(struct game* game );
//Change the direction of player
int movement(struct game* game);
//Spawn the blocking structure
void spawn_blocks(struct game* game);
//Show the score and destroy the game
void game_over(struct game* game);
#endif