Skip to content

Commit 81dc7e7

Browse files
authored
Update README.md
1 parent 4ac4bdb commit 81dc7e7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Assets/Command Pattern/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,21 @@ Encapsulate a request as an object, thereby letting you parameterize clients wit
66
![](https://github.com/QianMo/Unity-Design-Pattern/blob/master/UML_Picture/command.gif)
77

88
##Participants
9-
109
The classes and objects participating in this pattern are:
1110

1211
###Command
1312
* declares an interface for executing an operation
13+
1414
###ConcreteCommand
1515
* defines a binding between a Receiver object and an action
1616
* implements Execute by invoking the corresponding operation(s) on Receiver
17+
1718
###Client
1819
* creates a ConcreteCommand object and sets its receiver
20+
1921
###Invoker
2022
* asks the command to carry out the request
23+
2124
###Receiver
2225
* knows how to perform the operations associated with carrying out the request.
2326

0 commit comments

Comments
 (0)