public:
NetTrain(Client &, const TrainInfoPacket &);
+ Client &get_client() const { return client; }
const VehicleType &get_loco_type() const { return loco_type; }
unsigned get_address() const { return address; }
const std::string &get_name() const { return name; }
bool get_function(unsigned i) const { return (functions>>i)&1; }
void set_route(const std::string &);
const std::string &get_route() const { return route; }
+ const std::string &get_status() const { return status; }
void process_packet(const TrainControlPacket &);
void process_packet(const TrainFunctionPacket &);