protected void move() 
    {
        if (target!= null && m.checkEnemy(target) == true)
        {
            //System.out.println(target);

            turnTowards(target.getX(), target.getY()); 
            move(speed) ;
        }//IllegalActor here making it turn when its not there  (DID JAMES ADDD THIS?)
        else 
        {
            active = false; 
        }
        checkHit(); 

    }