#include "position.hpp"
#include "stop.hpp"
+class bad_direction { };
+
typedef std::list<Stop> StopList;
enum State { STATE_IDLE, STATE_UP, STATE_DOWN, STATE_WAIT, STATE_OPEN_DOOR, STATE_CLOSE_DOOR };
void move ();
bool is_idle () const;
int getLoad () const;
+ bool willStopAt (int floor, Direction direction) const;
private: