Trains.NET icon indicating copy to clipboard operation
Trains.NET copied to clipboard

Larger tiles (tracks, etc.)

Open davidwengier opened this issue 6 years ago • 4 comments

Curved tracks would look a lot better if they could be bigger, and take up 2x2 cells. In general, support for larger items on cells might be useful for The Future™

davidwengier avatar Nov 28 '19 21:11 davidwengier

I like the idea of an abstract x * y tile that can define which edges tracks connect via. Would allow for a 3 * 3 y connector

ScottHolden avatar Nov 29 '19 04:11 ScottHolden

Yes, and the API would be easy enough too.. perhaps an IEnumerable<ConnectionPoint> on a track or something.

davidwengier avatar Nov 29 '19 04:11 davidwengier

Yeah, in the example of the 3 * 3 y connector, would it return the 3 cells that are connected, and their direction of connection?

ScottHolden avatar Nov 29 '19 04:11 ScottHolden

Maybe... I don't know because ConnectionPoint doesn't exist. Otherwise a track.ConnectsTo(col, row) would work.

davidwengier avatar Nov 29 '19 04:11 davidwengier