Finished implementing Tutorials
This commit is contained in:
@ -42,7 +42,7 @@ public class TutorialManager {
|
||||
toolShopTutorial = new ToolShopTutorial(gameActivity);
|
||||
switchToolsTutorial = new Tutorial(gameActivity,
|
||||
new BreakPoint(0, R.string.tutorial_switch_tools_two_neccessary, -1),
|
||||
new BreakPoint(0, R.string.tutorial_switch_tools_switch, -1));
|
||||
new BreakPoint(0, R.string.tutorial_switch_tools_switch, R.drawable.tutorial_switch_tools));
|
||||
}
|
||||
|
||||
public void update(Level level, float playerProgress) {
|
||||
|
@ -64,7 +64,7 @@ public class TutorialView implements View.OnClickListener {
|
||||
textView.setText(textId);
|
||||
}
|
||||
if (imageId == -1)
|
||||
imageView.setVisibility(View.INVISIBLE);
|
||||
imageView.setVisibility(View.GONE);
|
||||
else {
|
||||
imageView.setVisibility(View.VISIBLE);
|
||||
imageView.setImageResource(imageId);
|
||||
|
@ -47,12 +47,12 @@ public class TopBar implements View.OnClickListener {
|
||||
|
||||
Typeface typeface = gameActivity.getTypeface();
|
||||
levelDisplay = (TextView) layout.findViewById(R.id.topbar_leveldisplay);
|
||||
// levelDisplay.setTypeface(typeface);
|
||||
levelDisplay.setTypeface(typeface);
|
||||
levelProgress = (ProgressBar) layout.findViewById(R.id.topbar_levelprogress);
|
||||
starCount = (TextView) layout.findViewById(R.id.topbar_starcount);
|
||||
// starCount.setTypeface(typeface);
|
||||
starCount.setTypeface(typeface);
|
||||
energyCount = (TextView) layout.findViewById(R.id.topbar_energycount);
|
||||
// energyCount.setTypeface(typeface);
|
||||
energyCount.setTypeface(typeface);
|
||||
settingsButton = (Button) layout.findViewById(R.id.topbar_settings);
|
||||
settingsButton.setOnClickListener(this);
|
||||
toolshopButton = (Button) layout.findViewById(R.id.topbar_toolshop);
|
||||
|
Reference in New Issue
Block a user