Game.h

 avatar
user_6225994
c_cpp
a year ago
315 B
3
Indexable
Never
#pragma once
#include"Map.h"
#include"Apple.h"
#include"Snake.h"
#include "Map.h"
#include "Apple.h"

class Game {
public:
	int _score;
	Map *_mapGame;
	Apple *_apple;
	Snake *_snake;


	//
	void CheckKey();
	void Loop();
	bool CheckSnakeEatApple();
	void DisplayScore();
	Game();
	~Game();
};