@Override
    public void run() {
        while (isRunning) {

            if (this.deadly == false) {
                this.edibleLifeRemaining--;

                if (this.edibleLifeRemaining <= 0) {
                    this.deadly = true;
                }
            }

            pastRow = ghostRow;
            pastCol = ghostCol;
            intel.proximoMovimento();
            ghostRow = intel.getX();
            ghostCol = intel.getY();
            
            mov.setX1(pastRow);
            mov.setY1(pastCol);
            mov.setX2(ghostRow);
            mov.setY2(ghostCol);
            
            maze.repaint();

            try 
            {
                Thread.sleep(intel.getSleep());
            } 
            catch (InterruptedException e) 
            {
                System.err.println(e);
            }
        }
    }