public void setPlayerOffEntity(int x, int y) {
        this.mapGrid[x][y].setPawnOn(-1);
        if (this.mapGrid[x][y].getType() == Entity.EXIT) {
            setValueAt(exitIcon, y, x);
            this.isExitHidden = false;
        } else {
            setValueAt(this.mapGrid[x][y].getIcon(), y, x);
        }
    }