TheCrimsonKing92 / progressive-react

0 stars 0 forks source link

Clean up App.purchase(buyable) #12

Open TheCrimsonKing92 opened 6 years ago

TheCrimsonKing92 commented 6 years ago

This method does too much at the moment, and contains some really odd logic to account for all cases. Clean up the differentiation between types of buyables, take out some of the nasty handling and make it more sensible. Think about implementing purchase logic on the buyable, and think about why that maybe shouldn't be the way this works.