Better explained: There is a front- and a back_stock. Which returns the first and last entity of a train. But how do I know, which one is now driving into front?
Differently explained: When a train is driving, the front gets blue lights, the back gets red lights. I want to know, which carriage is currently the front and which the back.
![Smile :)](./images/smilies/icon_e_smile.gif)
[Perhaps some function like train_direction(locomotive)
and it returns either 1 or -1 for currently driving into front or back-direction of train, so that I know if -1 then I need to pickup the back_stock for the forwardmost entity....]
PS: Also interesting: Which is the forwardmost locomotive?