From 28d9013983c834b39d668346227e41151ee2a4ba Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Wed, 13 May 2020 19:36:06 +0200 Subject: [PATCH] Enums refactor --- src/entities/Enums.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/entities/Enums.py diff --git a/src/entities/Enums.py b/src/entities/Enums.py new file mode 100644 index 0000000..2256a61 --- /dev/null +++ b/src/entities/Enums.py @@ -0,0 +1,22 @@ +from enum import Enum + + +class Rotations(Enum): + NORTH = 0 + EAST = 1 + SOUTH = 2 + WEST = 3 + + +class StatisticNames(Enum): + HP = 0 + STAMINA = 1 + HUNGER = 2 + THIRST = 3 + + +class Movement(Enum): + ROTATE_R = 0 + ROTATE_L = 1 + FORWARD = 2 + PICKUP = 3