public void move()
      {
         if(right&&rChange)
            x+=1;
         if(left&&lChange)
            x-=1;
         if(up&&uChange)
            y-=1;
         if(down&&dChange)
            y+=1;
      }