package com.kduda.battleships.models.units;

public class Plane extends Unit {
    private Direction direction;

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

    public Direction getDirection() {
        return direction;
    }

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

    @Override
    public void rotateUnit() {

    }
}

@@ -38,16 +38,79 @@
 units;%0A%0A
+import static com.kduda.battleships.models.units.Direction.*;%0A%0A
 public c
@@ -233,26 +233,16 @@
 ction = 
-Direction.
 North;%0A 
@@ -458,16 +458,403 @@
 nit() %7B%0A
+        switch (this.direction) %7B%0A            case North:%0A                this.direction = East;%0A                break;%0A            case East:%0A                this.direction = South;%0A                break;%0A            case South:%0A                this.direction = West;%0A                break;%0A            case West:%0A                this.direction = North;%0A                break;%0A        %7D
 %0A    %7D%0A%7D

Add plane rotate method