public void disallowIn(int x,int y,int width,int height){
  Rectangle r=new Rectangle(x,y,width,height);
  arrivingBarriers.add(r);
}

public void disallowIn ( int x , int y , int width , int height ) { Rectangle r = new Rectangle ( x , y , width , height ) ; arrivingBarriers . add ( r ) ; }
block teleporting to a rectangular area .
