You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a situation where the Watchformover method in the station is not working it could be expected:
Imagine that in a initial situation we have 3 movers inside a station and the mover with index 2 in the array is going to be first one to leave the station.
If they are not in the same order than in the movers array, the mover with the first index will enter the first one in the queue (because the FOR loop goes in order), so it will be the first mover in the queue and the CurrentMover, when the first would have to be the move with index 2...
I think that we need an aditional condition to reorder the movers taking into account the positive movement within their current track.
Let me know what do you think about this.