Invoker

_x:number

_y:number

+move(dx:number,dy:number):void

+scale(dx:number,dy:number):void

Command

#receiver:Receiver

+Request():void

Receiver

+Do():void

C1

+Request():void

class Point

_x:number

_y:number

+move(dx:number,dy:number):void

+scale(dx:number,dy:number):void

命令模式UML

命令模式UML

2019-06-23 20:53:43 0 20
这里是评论

相关推荐