Skip to content

Commit

Permalink
Update the in-game tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
alistairfoggin committed Feb 1, 2023
1 parent e46f910 commit e634c24
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions core/src/cs/eng1/piazzapanic/ui/TutorialOverlay.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ public TutorialOverlay(final PiazzaPanicGame game) {
labelStyle);
stationUsage.setWrap(true);

// Initialize recipe creation label
Label recipeLabel = new Label(
"Take the ingredients and process them as required for the recipe shown on the right. Then take them to the counter (table with the orange tablecloth) to build the recipe and complete the order.",
labelStyle);
recipeLabel.setWrap(true);

TextButton backButton = game.getButtonManager()
.createTextButton("Done", ButtonManager.ButtonColour.GREY);
backButton.addListener(new ClickListener() {
Expand All @@ -57,6 +63,8 @@ public void clicked(InputEvent event, float x, float y) {
table.row();
table.add(stationUsage).fillX().expandX().pad(20f).padTop(0f);
table.row();
table.add(recipeLabel).fillX().expandX().pad(20f).padTop(0f);
table.row();
table.add(backButton).padTop(20f);
}

Expand Down

0 comments on commit e634c24

Please sign in to comment.