with public void generate(Enemy enemy) {
		
		if(enemy.Y!=(Y) && enemy.X == Main.mainFrame.getWidth()){
			while(enemy.Y==(Y)){
			Y = rand.nextInt(Main.mainFrame.getHeight()-20);
			}
    	}
	}