-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGame.h
47 lines (47 loc) · 1.69 KB
/
Game.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//class Game
//{
//public:
//
// static void run();
//
//private:
//
// static sf::RenderWindow* window;
// static int score;
// static int level;
// static bool alive;
//
// static std::pair<int, int> foodLocation;
//
// // Random Number Generation for X
// static const int rangex_from;
// static const int rangex_to;
// static std::random_device rand_devX;
// static std::mt19937 generatorX;
// static std::uniform_int_distribution<int> distrX;
//
// static const int rangey_from;
// static const int rangey_to;
// static std::random_device rand_devY;
// static std::mt19937 generatorY;
// static std::uniform_int_distribution<int> distrY;
//
// static std::vector<std::pair<int, int>> snake_body;
// static Direction snake_direction;
// static Direction new_direction;
//
// static std::pair<int, int> getNewFoodLocation();
// static void moveSnake();
// static void draw();
// static bool collides(std::pair<int, int>, std::vector<std::pair<int, int>>);
//
// static sf::Texture tile;
// static sf::Texture body;
// static sf::Texture food;
//
// static sf::Sprite tile_spr;
// static sf::Sprite body_spr;
// static sf::Sprite food_spr;
//};
//
//#endif