Currently, when I switch stations in the Stations tab, the information of the station in the tab is not refreshed. This should be fixed.
[x] Introduce Station.tracks as a List<Track>. Move signal aspects into this new Track. Ensure game works as-is with this new model.
[x] On the UI, by default, show the Home station. By default, show the current track alignment & that direction's signal aspect.
[x] On change of station, load the relevant Station object & show track alignment & signal aspects based on that object.
Note that another ticket (#56) will take care of track-level signals. For now, setting a signal will set the same signal for all tracks at the station.
Currently, when I switch stations in the Stations tab, the information of the station in the tab is not refreshed. This should be fixed.
Station.tracks
as aList<Track>
. Move signal aspects into this newTrack
. Ensure game works as-is with this new model.Station
object & show track alignment & signal aspects based on that object.Note that another ticket (#56) will take care of track-level signals. For now, setting a signal will set the same signal for all tracks at the station.