Skip to content

Commit

Permalink
Add game info object and remove unnecessary {}
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhutchings committed Sep 14, 2020
1 parent bb9ad02 commit 367526b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/org/qme/main/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import org.qme.player.AI;
import org.qme.player.Human;
import org.qme.vis.QDebug;
import org.qme.vis.QGameInfo;
import org.qme.player.Player;
import org.qme.vis.QInputScreen;
import org.qme.vis.ui.QButton;
Expand Down Expand Up @@ -210,9 +211,9 @@ public GlobalState getActiveState() {

};

new QDebug(app, QInputScreen.SCREEN_WIDTH / 2, QInputScreen.SCREEN_HEIGHT / 15) {
new QDebug(app, QInputScreen.SCREEN_WIDTH / 2, QInputScreen.SCREEN_HEIGHT / 15);

};
new QGameInfo(app);

// Main loop time
while (true) {
Expand Down

0 comments on commit 367526b

Please sign in to comment.