Minious / CodeFarm

2 stars 0 forks source link

Create a class for each Popup type #38

Closed Minious closed 4 years ago

Minious commented 4 years ago

The Popups are created and their callbacks defined in WorldScene which makes the code hard to read. Move each Popup in its own class which defines the callback there.

Make an abstract class Popup ?