Add Elevator Number to Elevators
[cs356-p1-elevator.git] / positionlabel.cpp
1 #include "positionlabel.hpp"
2
3 PositionLabel::PositionLabel (int elevator, const std::string text)
4         : Gtk::Label (text)
5         , elevator_(elevator)
6 {
7         // Intentionally Left Empty
8 }
9
10 int PositionLabel::getElevatorNumber () const
11 {
12         return elevator_;
13 }
14
15 /* vim: set ts=4 sts=4 sw=4 noet tw=112: */