Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Thaynan Silva authored Aug 17, 2019
1 parent 02b27fe commit 166d2fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ initialize your application, and it is done as it follows:
public class MainClass {

public static void main(String[] args) {
var myApp = new MyApp();
var myGame = new MyGame();
int width = 640;
int height = 480;
int pixelSize = 2;
Expand All @@ -72,7 +72,7 @@ public class MainClass {
boolean fullScreen = false;

// initializes GLib and shows the window
GLib.initialize(myApp, width, height, pixelSize,
GLib.initialize(myGame, width, height, pixelSize,
fpsRate, infiniteFPS, fullScreen);
}
}
Expand Down

0 comments on commit 166d2fa

Please sign in to comment.