Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor refactor of DifficultyEditor construction
Merge the two separate loops into a single loop which constructs each DifficultyEditor, adds it to the internal list and then inserts it as a choicebook page. This means that DifficultyEditor no longer needs to store and return its own label since the text is already known in the population loop.
- Loading branch information
Matthew Mott
committed
Mar 18, 2020
1 parent
2a1fb1b
commit 6b02dc4
Showing
3 changed files
with
76 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters