AnthonyMichaelTDM / DRG-Save-Editor

Rock and stone!
GNU General Public License v3.0
115 stars 17 forks source link

Refactor components further #98

Closed wahlp closed 4 months ago

wahlp commented 4 months ago

75

goals:

wahlp commented 4 months ago

certainly not a perfect separation of responsibilities between the controller and view, but it feels great to see how much smaller each file is compared to the original main.py

simon-wg commented 4 months ago

I took this opportunity to convert Item and Cost to dataclasses as well, and also added a __add__ to Cost so we don't have to iterate over each key.

But it works well on my machine! Great job again :D

AnthonyMichaelTDM commented 4 months ago

ping me when this is ready to review/merge

wahlp commented 4 months ago

@AnthonyMichaelTDM it's ready

AnthonyMichaelTDM commented 4 months ago

sweet, I'll take a look