Fixed bug
This commit is contained in:
parent
ee7536ba5f
commit
2fa424139b
@ -18,6 +18,7 @@
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:supportsRtl="true"
|
||||
android:testOnly="true"
|
||||
android:theme="@style/AppTheme" >
|
||||
<activity
|
||||
android:name="de.frajul.endlessroll.main.GameActivity"
|
||||
|
@ -71,12 +71,23 @@ public class GoalMessageLevelButton implements View.OnClickListener {
|
||||
private void showCollectedCurrency(boolean[] stars, boolean energy) {
|
||||
if (stars[0])
|
||||
this.star1.setImageResource(R.drawable.currency_star);
|
||||
else
|
||||
this.star1.setImageResource(R.drawable.currency_star_empty);
|
||||
|
||||
if (stars[1])
|
||||
this.star2.setImageResource(R.drawable.currency_star);
|
||||
else
|
||||
this.star2.setImageResource(R.drawable.currency_star_empty);
|
||||
|
||||
if (stars[2])
|
||||
this.star3.setImageResource(R.drawable.currency_star);
|
||||
else
|
||||
this.star3.setImageResource(R.drawable.currency_star_empty);
|
||||
|
||||
if (energy)
|
||||
this.energy.setImageResource(R.drawable.currency_energy);
|
||||
else
|
||||
this.energy.setImageResource(R.drawable.currency_energy_empty);
|
||||
}
|
||||
|
||||
public Level getLevel() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user