mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Show the puzzle description in a pop-up dialog window when the puzzle starts.
This commit is contained in:
@@ -48,7 +48,7 @@ public class Puzzle extends GameState implements InventoryItem, Comparable {
|
||||
}
|
||||
}
|
||||
|
||||
private String getGoalDescription() {
|
||||
public String getGoalDescription() {
|
||||
StringBuilder desc = new StringBuilder();
|
||||
|
||||
String name = this.name == null ? "Unnamed Puzzle" : this.name;
|
||||
@@ -66,7 +66,7 @@ public class Puzzle extends GameState implements InventoryItem, Comparable {
|
||||
|
||||
if (this.description != null) {
|
||||
desc.append("\n\n");
|
||||
desc.append(this.description);
|
||||
desc.append(this.description.replace("\\n", "\n"));
|
||||
}
|
||||
|
||||
return desc.toString();
|
||||
|
||||
Reference in New Issue
Block a user