BUGFIX: Elevators did not handle Requests in the correct order
[cs356-p1-elevator.git] / callbutton.cpp
1 #include "callbutton.hpp"
2
3 CallButton::CallButton (int floor, Direction direction)
4         : Gtk::ToggleButton()
5         , floor_(floor)
6         , direction_(direction)
7 {
8         // Intentionally Left Empty
9 }
10
11 int CallButton::getFloorNumber () const
12 {
13         return floor_;
14 }
15
16 Direction CallButton::getDirection () const
17 {
18         return direction_;
19 }
20
21 /* vim: set ts=4 sts=4 sw=4 noet tw=112: */