hiya all, just singed up to this place
I'm developing a train simulation game of a small train network,
It will be from a birds eye view, and the main aim features will be to stop and start the train with the signals, as if you worked in the signal box, and also using the normal signal box controls, be able to shunt a train from one track to another,
1. I'm just wondering I need a good data structure to store each of the few trains (and the various different types of carriages and carts the pull), any ideas on what data structure I use
2. any ideas on whether i could map the track to a 2d array, that i could then show on screen mapping it to a grid? or would their be a better way in your opinion to display the simulation (tracks and train) on the screen from a birds-eye-view
3. anyone know of any java train simulations/games, that have been made before that i could have a look at the code, to see in which way other people have gone??
thanks any help is very much appreciated indeed