add leave_station to on_train_changed_state
Posted: Wed Feb 24, 2016 3:26 pm
Could you add an additional event defines.events.trainstate.leave_station?
Right now it goes from wait_station directly to on_the_path, making it necessary to keep track of the previous state to distinguish whether the train was at a signal or station or whatever.
And/or add previous_state to the event?
Right now it goes from wait_station directly to on_the_path, making it necessary to keep track of the previous state to distinguish whether the train was at a signal or station or whatever.
And/or add previous_state to the event?