Get the Play/Pause and Quit buttons working nicely
[cs356-p1-elevator.git] / direction.hpp
index 927016b..b9863db 100644 (file)
@@ -7,7 +7,7 @@
 #ifndef DIRECTION_HPP
 #define DIRECTION_HPP
 
-enum direction { IDLE, UP, DOWN, ALL };
+typedef enum { IDLE, UP, DOWN, ALL } Direction;
 
 #endif /* DIRECTION_HPP */