
Design Patterns Part 1 – You Create Me!
Coding Blocks
00:00
The Factory Patterns - What You Need to Know
The factory method is the same type concept you call a factory. But inside that factory, they are subclassing an abstract class. You can have like a magic maze implement those methods in them. And then when the factory method is called to, in your example, make room, that would be an overwritten room,. correct, overwritten method, that returns a turn back a different object.
Transcript
Play full episode