Skip to content

Commit

Permalink
add font sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebarkmin committed Jan 25, 2025
1 parent d3cb740 commit 65d6bc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/java/DonutIO/Game.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package DonutIO;

import org.openpatch.scratch.Window;
import org.openpatch.scratch.extensions.text.Text;

public class Game extends Window {

Expand All @@ -13,6 +14,7 @@ public Game() {
}

public static void main(String[] args) {
Text.FONT_SIZES = new int[] { 32, 48 };
new Game();
}
}
1 change: 1 addition & 0 deletions examples/java/Shakespeare/Shakespeare.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public void run() {
}

public static void main(String[] args) {
Text.FONT_SIZES = new int[] { 14, 20 };
new Shakespeare();
}
}

0 comments on commit 65d6bc0

Please sign in to comment.