private void handleCoordinates() {
        switch (curDirec) {
            case 0:
                curLocY--;
                break;
            case 1:
                curLocX++;
                break;
            case 2:
                curLocY++;
                break;
            case 3:
                curLocX--;
                break;
        }
    }