[refactor] Remove unnecessary declarations in command pattern.

This commit is contained in:
ruslanpa committed 2015-02-10 09:23:59 +02:00
1 parent 6da9686a50
commit 0fbb4f4003
4 files changed
+4 -15

No files matched your search

@@ -5,9 +5,8 @@ public class Wizard extends Target {
private Command previousSpell;
public Wizard() {
this.setSize(Size.NORMAL);
this.setVisibility(Visibility.VISIBLE);
previousSpell = null;
setSize(Size.NORMAL);
setVisibility(Visibility.VISIBLE);
}
public void castSpell(Command command, Target target) {