We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b843f0 commit 52ca001Copy full SHA for 52ca001
command/src/main/java/com/iluwatar/App.java
@@ -1,5 +1,12 @@
1
package com.iluwatar;
2
3
+/**
4
+ *
5
+ * In Command pattern actions are objects that can
6
+ * be executed and undone. The commands in this example
7
+ * are spells cast by the wizard on the goblin.
8
9
+ */
10
public class App
11
{
12
public static void main( String[] args )
command/src/main/java/com/iluwatar/Command.java
@@ -1,5 +1,10 @@
+ * Interface for spells.
public abstract class Command {
public abstract void execute(Target target);
0 commit comments