Switch drone mode handling to use enums

This commit is contained in:
DarkPhoenix
2019-07-06 12:31:26 +03:00
parent 71e55a000b
commit 8c0cae8bc3
4 changed files with 30 additions and 11 deletions

View File

@@ -110,3 +110,10 @@ class GuiAttrGroup(IntEnum):
PROPULSIONS = auto()
FIGHTERS = auto()
SHIP_GROUP = auto()
@unique
class GraphDpsDroneMode(IntEnum):
auto = 1
followAttacker = 2
followTarget = 3