updateComponents();
        public void setMapXY(int x, int y)        {        	if (centered)        	{        		x -= screenWidth / 2;        		y -= screenHeight / 2;        	}        	if (x + screenWidth > MapEditor.width + 1)        		this.x = MapEditor.width - screenWidth + 1;        	else if (x < 0)        		this.x = 0;        	else        		this.x = x;        	if (y + screenHeight > MapEditor.height + 1)        		this.y = MapEditor.height - screenHeight + 1;        	else if (y < 0)        		this.y = 0;        	else        		this.y = y;        	updateComponents();        }