Skip to content

Commit

Permalink
Create README
Browse files Browse the repository at this point in the history
  • Loading branch information
xulww authored May 12, 2021
1 parent 2fb0b29 commit b1ddac6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Command/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
The idea of the command pattern is to observe the sequence of actions that have been done on
a certain object. This way you can go forward or back an action.

There are 3 types of participants - receiver (the command target), invoker (the command executer)
and command (the task).

In this example the lights are the receiver and the remote is the invoker.

0 comments on commit b1ddac6

Please sign in to comment.