ga-wdi-boston / js-modules-study

Other
0 stars 107 forks source link

Create factory for StarCraft units #51

Closed DanielJRaine closed 7 years ago

DanielJRaine commented 8 years ago

Is this the proper interface/implementation of the Factory Pattern? I have a lot of uncertainties about how to use this design pattern properly/how to get the most out of it. I would like to sit down and talk about the relative merits of using a factory pattern vs classes/constructors, etc. I feel like I have more questions than I even know how to ask.