@Override
    public void command(Command command) {
        if (up) {
            if (command == Command.UP) {
                parent.addEffectPackage(new EffectPackage(Effect.MOVE_UP, true, null));
            }
        } else {
            if (command == Command.DOWN) {
                parent.addEffectPackage(new EffectPackage(Effect.MOVE_DOWN, true, null));
            }
        }
    }