OpenChartProject / OpenChart

✨ NEW REPO ✨ https://github.com/OpenChartProject/OpenChart-web
https://github.com/OpenChartProject/OpenChart-web
Other
8 stars 3 forks source link

Move commonly used properties into their own classes #30

Closed Kangaroux closed 4 years ago

Kangaroux commented 4 years ago

Closes #29

Properties like Beat, Key, KeyCount are used pretty frequently, and they have some validation logic to them. That validation logic is duplicated across several classes. This PR moves those properties and their logic into their own class, and replaces any usage of that property with an instance of the new class.