diff --git a/README.md b/README.md index d3bdb3a..53c2a6f 100644 --- a/README.md +++ b/README.md @@ -214,8 +214,10 @@ Mediator class diagram, while it is hard to make a generic one, as it can vary, * Don't know ### f. Examples +[StockExchangeMediator]: https://github.com/MihaiTheCoder/BehavioralPatterns/blob/master/BehavioralPatternsDiagrams/Mediator/AirTraficControllerClassDiagram.PNG "stock exchange mediator class diagram" * StockExchange example: Starting class: StockExchange.StockExchangeExample * Have multiple traders Buy/Sell actions from stock exchange (simplified) + * Classs diagram: ![alt text][StockExchangeMediator] * Ground-Air traffic control example: Starting class: GroupAirTrafficControl.GroundAirTrafficControlExample * Have 4 planes that want to land on an airport, the airport has 4 lines (one not working). They all talk to air traffic control(mediator) to ask permission to land, instead of talking to each other