- void place(Block *, unsigned);
- bool free_block(Block *);
- void tick();
+ unsigned get_target_speed() const { return target_speed; }
+ const Route *get_route() const { return route; }
+ const std::string &get_status() const { return status; }
+ const Point &get_position() const { return pos; }
+ void place(Block &, unsigned);
+ bool is_placed() const { return !cur_blocks.empty(); }
+ bool free_block(Block &);
+ int get_entry_to_block(Block &) const;
+ void tick(const Msp::Time::TimeStamp &, const Msp::Time::TimeDelta &);
+ void save(std::list<Msp::DataFile::Statement> &) const;