The way i've been designing it is so fucking weird, can we just get maxIndex normally?
Chapters should refresh themselves on enable
We need to diagram out this functinoality some events are confusing to me, what should the level select buttons be linking to?
Make the linear progression way more rigid so it simplified the level select code. Or create some sort of adapter class at least. (Simplify levelswon class)
System should be quick to recompute all the buttons
LevelsWonChanged event inside of the runtimeset?
LevelWon should it just include index?
Store an internal dictionary in levelswon
Just add a levelwonupdated.
Add to levelwon game event
Chapter level buttons should recompute its layout when levelwonupdated or on enable
prev selected button?
Recompute layout on button select
We can't really have selected level based on just level won, selected level should respond to user so recomputing selected level should only be based on current level index? That's why we need generateRequestedLevel();