MortenTobiasNielsen / Factorio-TAS-Generator

This is an attempt to create a helper tool for Tool Assisted Speedruns in Factorio. A guide of how to use the tool can be found here: https://www.youtube.com/watch?v=V9tuNoDqc0E&t
MIT License
13 stars 4 forks source link

Refactor priority #321

Closed theis999 closed 1 year ago

theis999 commented 1 year ago

PriorityStruct

Given that priority will always appear in pairs, it felt natural to create a struct for that. The struct has been extended with ToString and FromString to simplify string operations in the rest of the app.

Priority namespace

A namespace has been added, which allows for simple names such as "Type" and it also hides priority for most of the app where it doesn't matter.