Generally, it helps if you ask a specific question. All I see here is "I need to do X" and a bunch of code.
Nobody has any idea what SPECIFIC help you need.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Joined: Dec 05, 2011
sorry for that, what I need help in that I'm trying to combine the two patterns together. Strategy and factory method. And I'm not quite sure from what I have done. Is the code I posted is correct way to apply strategy and factory method together.