Daniel-Martinez / Tags

Tags
0 stars 0 forks source link

Fix Command Line Design Pattern Imissile Launcher #20

Closed Daniel-Martinez closed 10 years ago

Daniel-Martinez commented 10 years ago

Based on feedback from pilot with Brian, better understand interface method. We now know that we do NOT need an abstract class to inherite from. (Look up adapter design pattern to better model our solution.)

Daniel-Martinez commented 10 years ago

Fixed this by having an abstract class that real and mock derive from. Each of those have IMissileLauncher interface and implement all the methods of the interface. The mock class does not actually do anything its just a stand in.