Home Automation or Bust, Inc.Free hardware! Let’s check out the Remote Control...Taking a look at the vendor classesCubicle ConversationMeanwhile, back at the Diner..., or, A brief introduction to the Command PatternLet’s study the interaction in a little more detail...The Objectville Diner roles and responsibilitiesFrom the Diner to the Command PatternOur first command objectUsing the command objectCreating a simple test to use the Remote ControlThe Command Pattern definedThe Command Pattern defined: the class diagramAssigning Commands to slotsImplementing the Remote ControlImplementing the CommandsPutting the Remote Control through its pacesNow, let’s check out the execution of our remote control test...Time to write that documentation...What are we doing?Time to QA that Undo button!Using state to implement UndoAdding Undo to the Ceiling Fan commandsGet ready to test the ceiling fanTesting the ceiling fan...Every remote needs a Party Mode!Using a macro commandthere are no Dumb QuestionsMore uses of the Command Pattern: queuing requestsMore uses of the Command Pattern: logging requestsCommand Pattern in the Real World Tools for your Design Toolbox Design Patterns Crossword