[refactor] Remove unnecessary declarations in command pattern.
This commit is contained in:
@@ -4,10 +4,6 @@ public class InvisibilitySpell extends Command {
|
||||
|
||||
private Target target;
|
||||
|
||||
public InvisibilitySpell() {
|
||||
target = null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void execute(Target target) {
|
||||
target.setVisibility(Visibility.INVISIBLE);
|
||||
|
Reference in New Issue
Block a user