Skip to content

Commit 7044f91

Browse files
committed
don't even know what's wrong anymore
1 parent 8b99b40 commit 7044f91

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

triumph-gui/4_x_x/1-started/creating-gui.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ final var gui = Gui.of(1)
3939
// Now that the GUI is built, we can open it for the player.
4040
gui.open(player);
4141
```
42-
43-
+++
42+
+++
4443
+Kotlin+
4544
```kotlin
4645
val gui = buildGui {
@@ -67,5 +66,6 @@ gui.open(player)
6766
```
6867
+++
6968
-+-
69+
7070
Now that the GUI is created, we can dive into something more complex by utilizing [States](/states).
7171
We can continue onto the next example [here](/using-states).

triumph-gui/4_x_x/1-started/updating-title.md

-5
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public final class HighScoreMutationPolicy implements StateMutationPolicy<Intege
3838
}
3939
}
4040
```
41-
4241
+++
4342
+Kotlin+
4443

@@ -52,7 +51,6 @@ class HighScoreMutationPolicy : StateMutationPolicy<Int?> {
5251
}
5352
}
5453
```
55-
5654
+++
5755
-+-
5856

@@ -73,7 +71,6 @@ private final MutableState<Integer> highScoreState = MutableState.of(0, new High
7371
```kotlin
7472
private val highScoreState = mutableStateOf(0, HighScoreMutationPolicy())
7573
```
76-
7774
+++
7875
-+-
7976

@@ -125,7 +122,6 @@ final var gui = Gui.of(1)
125122

126123
gui.open(player);
127124
```
128-
129125
+++
130126
+Kotlin+
131127

@@ -181,7 +177,6 @@ val gui = buildGui {
181177

182178
gui.open(player)
183179
```
184-
185180
+++
186181
-+-
187182

0 commit comments

Comments
 (0)