public void centerOnPlayer(int px, int py, int mWidth, int mHeight) {
		x = px - (width / 2);
	if (x < 0)
		x = 0;
		if (x >= (mWidth * this.tileSize) - width) {
			x = (mWidth * this.tileSize) - width;
		}
		y = py - (height / 2);
	if (y < 0)
		y = 0;
		if (y >= ((mHeight) * this.tileSize) - height) {
			y = ((mHeight)*this.tileSize) - height;
		}
		y = 0;
	}