use enum
This commit is contained in:
parent
e8ad0d3364
commit
c6dfd8f9da
1 changed files with 1 additions and 5 deletions
|
@ -7,11 +7,7 @@
|
||||||
#define NBC 20
|
#define NBC 20
|
||||||
#define MAX_CRATES 20
|
#define MAX_CRATES 20
|
||||||
|
|
||||||
#define MOVE_U 0
|
enum movement { MOVE_U = 0, MOVE_D, MOVE_L, MOVE_R, MOVE_W };
|
||||||
#define MOVE_D 1
|
|
||||||
#define MOVE_L 2
|
|
||||||
#define MOVE_R 3
|
|
||||||
#define MOVE_W 4
|
|
||||||
|
|
||||||
enum board_str {
|
enum board_str {
|
||||||
OUT = ' ',
|
OUT = ' ',
|
||||||
|
|
Reference in a new issue