Skip to content

Conversation

@PBAKER26
Copy link

Made a CompareTo method for the Fuel class for better control over sorting. Makes it easier to read up and down the fuel chain when planning reactors.
Fuel selection combobox will now use this sorting method.

@hellrage
Copy link
Owner

Hello! Sorry about the delay. The fuels are already sorted by criticality (see

fuelList.Sort((x, y) => x.Value.CriticalityFactor.CompareTo(y.Value.CriticalityFactor));
), which is what I generally use.
There is, however, a request for different sorting criteria, so I'll merge it when I have the time to implement those as well, based on your commit!
Thank you for contributing :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants