package com.kduda.battleships.models.units;

public class Plane extends Unit {
    private Direction direction;

    public Plane(int size) {
        super(size);
        this.direction = Direction.North;
    }

    public Direction getDirection() {
        return direction;
    }

    public void setDirection(Direction direction) {
        this.direction = direction;
    }
}

@@ -127,16 +127,8 @@
 ane(
-int size
 ) %7B%0A
@@ -145,12 +145,9 @@
 per(
-size
+5
 );%0A 

Remove size from ctor