-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.h
54 lines (47 loc) · 1.58 KB
/
enums.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
48
49
50
51
52
53
54
#ifndef ENUMS_H
#define ENUMS_H
namespace commands {
enum Commands {
mutate_attack = -19, // mutate attack = -19
mutate, // mutate genome = -18
check_target_minerals, // check target minerals = -17
check_my_minerals, // check my minerals = -16
check_my_level, // check my level = -15
check_my_energy, // check my energy = -14
align, // align horizontally = -13
share, // share = -12
reproduction, // reproduction = -11
eat, // eat = -10
steal, // steal = -9
check, // check = -8
minerals, // minerals = -7
photosynthesis, // photosynthesis = -6
convert_minerals, // convert minerals = -5
change_dir, // change directory (absolutely) = -4
right, // right = -3
left, // left = -2
step // step = -1
};
}
enum BotType {
ALIVE,
ORGANIC,
DEAD,
};
enum BlockType {
BOT,
DEADBOT,
ERROR,
NULLBLOCK
};
enum Direction {
UP,
UP_RIGHT,
RIGHT,
RIGHT_DOWN,
DOWN,
DOWN_LEFT,
LEFT,
LEFT_UP
};
#endif // ENUMS_H