public void print() {
    int[][] pole = new int[width][height];
    pole[snake.getSections().get(0).getY()][snake.getSections().get(0).getX()] = 2;

    for (int i = 1; i < snake.getSections().size(); i++) {
        pole[snake.getSections().get(i).getY()][snake.getSections().get(i).getX()] = 1;

    }
    pole[mouse.getY()][mouse.getX()] = 3;

    for (int i = 0; i < width; i++) {
        for (int j = 0; j < height; j++){

            if (pole[i][j] == 1) {
                System.out.print("x");
            } else if (pole[i][j] == 2) {
                System.out.print("X");
            } else if (pole[i][j] == 3) {
                System.out.print("^");
            } else {
                System.out.print(".");
            }
        }
        System.out.println();
    }

}
не пропускает 2 и 3 пункты. В чем проблема?