Samasaur1 / CityManagement

A text-based city management game
3 stars 7 forks source link

Possible fix for Refactoring Recipes #36 #41

Open eknuth1002 opened 5 years ago

eknuth1002 commented 5 years ago

This allows constructables to contain costs and quantity themselves for easier adding and maintaining.

I created enums as I dislike using strings that the programmer types due to fat fingering. These enums also encapsulate the fields for themselves so that maintenance is in one file.

Constructing steel (the only one right now) works with single and multiples checked.