コード例 #1
0
ファイル: Zadlo.java プロジェクト: pandoras/BumbleAndBee
	public void wysun()
	{			
		przesunieciex = 80f;
		//this.setBounds((int)pszczola.ekranowyx+80,(int)pszczola.getY()+20,obrazek.getRegionWidth(),obrazek.getRegionHeight());	
		this.setBounds((int)pszczola.getX()+przesunieciex,(int)pszczola.getY()+20,obrazek.getRegionWidth(),obrazek.getRegionHeight());	
	}
コード例 #2
0
ファイル: Zadlo.java プロジェクト: pandoras/BumbleAndBee
	public void przesun(float poczatekEkranu, float deltaTime)
	{
		przesunieciex += 5f;
		this.setX(pszczola.getX()+przesunieciex);
	}