提交 52ca001a 编写于 作者: I Ilkka Seppala

Comments for command example.

上级 6b843f02
package com.iluwatar;
/**
*
* In Command pattern actions are objects that can
* be executed and undone. The commands in this example
* are spells cast by the wizard on the goblin.
*
*/
public class App
{
public static void main( String[] args )
......
package com.iluwatar;
/**
*
* Interface for spells.
*
*/
public abstract class Command {
public abstract void execute(Target target);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册