Skip to content
rewind927 edited this page Jan 11, 2015 · 2 revisions

Intent:

Object is used to represent and encapsulate all the information needed to call a method at a later time. This information includes the method name, the object that owns the method and values for the method parameters.

Structure:

Example:

FightMain

Use Command Pattern:

Reference:

http://en.wikipedia.org/wiki/Command_pattern

Clone this wiki locally