projects
/
cs356-p1-elevator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use Finite State Machine to manage Elevator movement
[cs356-p1-elevator.git]
/
direction.hpp
diff --git
a/direction.hpp
b/direction.hpp
index
d33e617
..
b9863db
100644
(file)
--- a/
direction.hpp
+++ b/
direction.hpp
@@
-7,7
+7,7
@@
#ifndef DIRECTION_HPP
#define DIRECTION_HPP
-
enum direction { IDLE, UP, DOWN }
;
+
typedef enum { IDLE, UP, DOWN, ALL } Direction
;
#endif /* DIRECTION_HPP */