1 | /* |
2 | * Copyright 2006-2009 Parker Coates <coates@kde.org> |
3 | * |
4 | * This file is part of Killbots. |
5 | * |
6 | * Killbots is free software: you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by |
8 | * the Free Software Foundation, either version 2 of the License, or |
9 | * (at your option) any later version. |
10 | * |
11 | * Killbots is distributed in the hope that it will be useful, |
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | * GNU General Public License for more details. |
15 | * |
16 | * You should have received a copy of the GNU General Public License |
17 | * along with Killbots. If not, see <http://www.gnu.org/licenses/>. |
18 | */ |
19 | |
20 | #ifndef KILLBOTS_ACTIONS_H |
21 | #define KILLBOTS_ACTIONS_H |
22 | |
23 | namespace Killbots |
24 | { |
25 | enum HeroAction |
26 | { |
27 | Right = 0, |
28 | UpRight, |
29 | Up, |
30 | UpLeft, |
31 | Left, |
32 | DownLeft, |
33 | Down, |
34 | DownRight, |
35 | Hold, |
36 | |
37 | Teleport, |
38 | TeleportSafely, |
39 | TeleportSafelyIfPossible, |
40 | WaitOutRound, |
41 | Vaporizer, |
42 | NoAction, |
43 | |
44 | RepeatRight = -( Right + 1 ), |
45 | RepeatUpRight = -( UpRight + 1 ), |
46 | RepeatUp = -( Up + 1 ), |
47 | RepeatUpLeft = -( UpLeft + 1 ), |
48 | RepeatLeft = -( Left + 1 ), |
49 | RepeatDownLeft = -( DownLeft + 1 ), |
50 | RepeatDown = -( Down + 1 ), |
51 | RepeatDownRight = -( DownRight + 1 ), |
52 | RepeatHold = -( Hold + 1 ) |
53 | }; |
54 | } |
55 | |
56 | #endif |
57 | |