From b1ddac6f876da0b594d3e3233d286908b30d360d Mon Sep 17 00:00:00 2001 From: Jordan <49492517+Xulww@users.noreply.github.com> Date: Wed, 12 May 2021 21:17:04 +0300 Subject: [PATCH] Create README --- Command/README | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Command/README diff --git a/Command/README b/Command/README new file mode 100644 index 0000000..dc65ede --- /dev/null +++ b/Command/README @@ -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.