summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/being.h b/src/being.h
index 3d3dfa71..71b3e2cf 100644
--- a/src/being.h
+++ b/src/being.h
@@ -113,7 +113,13 @@ class Being : public Sprite, public ConfigListener
/**
* Directions, to be used as bitmask values
*/
- enum { DOWN = 1, LEFT = 2, UP = 4, RIGHT = 8 };
+ enum BeingDirection
+ {
+ DOWN = 1,
+ LEFT = 2,
+ UP = 4,
+ RIGHT = 8
+ };
/**
* Constructor.