Formatted all files to the same standard

This commit is contained in:
matthew
2014-10-08 13:42:12 +01:00
parent 53a2a8b150
commit 3da9ad5469
151 changed files with 952 additions and 870 deletions
@@ -3,13 +3,13 @@ package com.iluwatar;
public class Wizard extends Target {
private Command previousSpell;
public Wizard() {
this.setSize(Size.NORMAL);
this.setVisibility(Visibility.VISIBLE);
previousSpell = null;
}
public void castSpell(Command command, Target target) {
System.out.println(this + " casts " + command + " at " + target);
command.execute(target);
@@ -22,10 +22,10 @@ public class Wizard extends Target {
previousSpell.undo();
}
}
@Override
public String toString() {
return "Wizard";
}
}