public void setPosition(double x, double y) {
		if (this.minX != 0.0 && this.minY != 0.0 && this.maxX != 0.0 && this.maxY != 0.0) {
			if(x < this.minX) {
				x = this.minX;
			} else if(x > this.maxX) {
				x = this.maxX;
			}
			
			if(y < this.minY) {
				y = this.minY;
			} else if(y > this.maxY) {
				y = this.maxY;
			}
		}

		this.x = x;
		this.y = y;
	}