public Popup(int width,int height,PopupPosition pos){
		if(width == 0){
			throw new IllegalArgumentException("Width cannot be 0");
		}	if(height == 0){
			throw new IllegalArgumentException("Height cannot be 0");
		}
		this.width = width;
		this.height = height;
		int screenWidth = JEngine.SCREEN_WIDTH;
		int screenHeight = JEngine.SCREEN_HEIGHT;
		
		if(pos == PopupPosition.CENTERED){
			this.x = (screenWidth/2) - (width/2);
			this.y = (screenHeight/2) - (height/2);
		}else if(pos == PopupPosition.BOTTOM){
			this.x = (screenWidth/2) - (width/2);
			this.y = screenHeight - 100;
		}else if(pos == PopupPosition.TOP){
			this.x = (screenWidth/2) - (width/2);
			this.y = 25;
		}


	}