You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/bwapi/Game.java
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -96,9 +96,11 @@ public class Game {
96
96
privateshort[] mapSplitTilesRegion1;
97
97
privateshort[] mapSplitTilesRegion2;
98
98
// USER DEFINED
99
-
privateTextSizetextSize = TextSize.Default;
99
+
100
+
privateText.SizetextSize = Text.Size.Default;
100
101
privatebooleanlatcom = true;
101
102
103
+
102
104
Game(Clientclient) {
103
105
this.client = client;
104
106
this.gameData = client.data();
@@ -1490,7 +1492,7 @@ public List<TilePosition> getStartLocations() {
1490
1492
1491
1493
/**
1492
1494
* Prints text to the screen as a notification. This function allows text
1493
-
* formatting using {@link TextColor#formatText}.
1495
+
* formatting using {@link Text#formatText}.
1494
1496
* <p>
1495
1497
* That text printed through this function is not seen by other players or in replays.
1496
1498
*
@@ -2400,16 +2402,16 @@ public boolean hasPath(final Position source, final Position destination) {
2400
2402
}
2401
2403
2402
2404
publicvoidsetTextSize() {
2403
-
setTextSize(TextSize.Default);
2405
+
setTextSize(Text.Size.Default);
2404
2406
}
2405
2407
2406
2408
/**
2407
2409
* Sets the size of the text for all calls to {@link #drawText} following this one.
2408
2410
*
2409
-
* @param size The size of the text. This value is one of Text#Size. If this value is omitted, then a default value of {@link TextSize#Default} is used.
2410
-
* @see TextSize
2411
+
* @param size The size of the text. This value is one of Text#Size. If this value is omitted, then a default value of {@link Text.Size#Default} is used.
0 commit comments