Changes a movement of a ship