Back to project page libgdx-sample.
The source code is released under:
GNU Lesser General Public License
If you think the Android project libgdx-sample listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package ch.epfl.chili.libgdx_sample.desktop; /*w ww . j a v a 2 s.co m*/ import ch.epfl.chili.libgdx_sample.LibgdxSample; import ch.epfl.chili.libgdx_sample.DeviceCameraController; import ch.epfl.chili.libgdx_sample.PlatformDependentMethods; import com.badlogic.gdx.backends.lwjgl.LwjglApplication; import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration; /** * The entry point object that runs the application on desktop * @author Ayberk zgr */ public class Main { public static void main(String[] args) { LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration(); cfg.title = "libgdx Sample"; cfg.width = 640; cfg.height = 480; DeviceCameraController camController = new DesktopCameraController(); PlatformDependentMethods platformDeps = new DesktopDependentMethods(); new LwjglApplication(new LibgdxSample(platformDeps,camController), cfg); } }