-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGameState.hpp
39 lines (36 loc) · 897 Bytes
/
GameState.hpp
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
//Version 1.0.1
#ifndef GAMESTATE_HPP_
#define GAMESTATE_HPP_
namespace arcade
{
///
/// \enum GameState
/// \brief Describe current game state
///
enum GameState
{
NONE = -1, /// Unknown game state
LOADING, /// The game was just loaded (need to load sounds and sprites)
INGAME, /// In game
MENU, /// In menu
QUIT, /// Quitting
NB_GAME_STATE /// Number of game states
};
///
/// \enum TileTypeEvolution
/// \brief Type of map tile
///
enum TileTypeEvolution
{
EMPTY = 0, /// Empty tile
BLOCK, /// Block tile
OBSTACLE, /// Obstacle tile
ENEMY, /// Enemy tile
SHOT_ENEMY, /// Enemy shot tile
SHOT_PLAYER, /// Player shot tile
POWERUP, /// Powerup tile
PLAYER, /// Player tile
FOOD, /// Food tile
};
}
#endif // !GAMESTATE_HPP_