상황
Designing a Space Invaders game where alien types vary and are created by a factory pattern.
이 도면에 담긴 내용
그 이면의 의사결정을 읽어 보세요.
01
AlienFactory encapsulates alien creation
02
Alien interface with concrete implementations
03
Game composition with Ship and Aliens
When building games with multiple enemy types that share common behavior but differ in details.