Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2015
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.58 KB | None | 0 0
  1. package com.orhantozan.game.desktop;
  2.  
  3. import org.lwjgl.opengl.Display;
  4.  
  5. import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
  6. import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
  7. import com.orhantozan.game.PongMain;
  8.  
  9. public class DesktopLauncher {
  10.     public static void main (String[] arg) {
  11.         LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
  12.         config.title = "Modern Pong";
  13.         config.width = 800;
  14.         config.height = 600;
  15.         config.resizable = false;
  16.         config.vSyncEnabled = false;
  17.         new LwjglApplication(new PongMain(), config);
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement