diff --git a/abstract-factory/etc/abstract-factory.jpg b/abstract-factory/etc/abstract-factory.jpg new file mode 100644 index 000000000..7204c4cf8 Binary files /dev/null and b/abstract-factory/etc/abstract-factory.jpg differ diff --git a/abstract-factory/etc/abstract-factory.svg b/abstract-factory/etc/abstract-factory.svg new file mode 100644 index 000000000..b30c0260d --- /dev/null +++ b/abstract-factory/etc/abstract-factory.svg @@ -0,0 +1,131 @@ + + + + UML diagram model + + + + + + + + + + + + + + + + + ElfKingdomFactory + + + + + createCastle(): Castle + + + + + createKing(): King + + + + + createArmy(): Army + + + + + + + OrcKingdomFactory + + + + + createCastle(): Castle + + + + + createKing(): King + + + + + createArmy(): Army + + + + + + + « Interface » + Castle + + + + + + « Interface » + King + + + + + + « Interface » + Army + + + + + + « Interface » + KingdomFactory + + + + createCastle(): Castle + + + + + createKing(): King + + + + + createArmy(): Army + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +