File indexing completed on 2024-12-08 03:46:10
0001 /* 0002 This file is part of Killbots. 0003 0004 SPDX-FileCopyrightText: 2006-2009 Parker Coates <coates@kde.org> 0005 0006 SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #ifndef KILLBOTS_ACTIONS_H 0010 #define KILLBOTS_ACTIONS_H 0011 0012 namespace Killbots 0013 { 0014 enum HeroAction { 0015 Right = 0, 0016 UpRight, 0017 Up, 0018 UpLeft, 0019 Left, 0020 DownLeft, 0021 Down, 0022 DownRight, 0023 Hold, 0024 0025 Teleport, 0026 TeleportSafely, 0027 TeleportSafelyIfPossible, 0028 WaitOutRound, 0029 Vaporizer, 0030 NoAction, 0031 0032 RepeatRight = -(Right + 1), 0033 RepeatUpRight = -(UpRight + 1), 0034 RepeatUp = -(Up + 1), 0035 RepeatUpLeft = -(UpLeft + 1), 0036 RepeatLeft = -(Left + 1), 0037 RepeatDownLeft = -(DownLeft + 1), 0038 RepeatDown = -(Down + 1), 0039 RepeatDownRight = -(DownRight + 1), 0040 RepeatHold = -(Hold + 1) 0041 }; 0042 } 0043 0044 #endif