From: John A. T. <ja...@ja...> - 2014-04-30 15:46:47
|
On Wed, Apr 30, 2014 at 5:41 AM, Stefan Frey <ste...@we...> wrote: > I even consider making another step: Allow parametrized tiles, tiles > that use the same track layout, but differ in the station values and > labels: Currently a new tile is defined any time the station value > changes and/or a label is added to the tile. > > One could even consider the tile color to be a parameter of the tile and > thus there is no need to duplicate the track layout definition only > because the color changes. > > For sure they are different tiles that are required for a physical game, > but not if they get generated automatically. > I'm not sure it is worth the trouble, but if I were going to do that I would do it by "subclassing" tiles and overriding parts I wanted to change. -- John A. Tamplin |