thomasahle / TrinityProject

A mindblowing trainbased game for entire family
http://thomasahle.github.com/TrinityProject/
GNU General Public License v3.0
8 stars 3 forks source link

Get rid of identity components before and after start and end component #28

Closed thomasahle closed 12 years ago

thomasahle commented 12 years ago

The start and end components are supposed to be the first and last components in UILevel, but as always horizontal adds identity components everywhere.

The solution here will be to change HorizontalComponent so it still adds identity component between elements, but not in the ends. One has to be careful not to break any invariants the component relies on.