SHARE
TWEET

Untitled

a guest Nov 6th, 2016 23 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package io.memegames.mygame;
  2.  
  3. import com.badlogic.gdx.backends.iosmoe.IOSApplication;
  4. import com.badlogic.gdx.backends.iosmoe.IOSApplicationConfiguration;
  5. import org.moe.natj.general.Pointer;
  6.  
  7. import apple.uikit.c.UIKit;
  8.  
  9. public class IOSMoeLauncher extends IOSApplication.Delegate {
  10.  
  11.     protected IOSMoeLauncher(Pointer peer) {
  12.         super(peer);
  13.     }
  14.  
  15.     @Override
  16.     protected IOSApplication createApplication() {
  17.         IOSApplicationConfiguration config = new IOSApplicationConfiguration();
  18.         config.useAccelerometer = false;
  19.         return new IOSApplication(new MyGdxGame(), config);
  20.     }
  21.  
  22.     public static void main(String[] argv) {
  23.         UIKit.UIApplicationMain(0, null, null, IOSMoeLauncher.class.getName());
  24.     }
  25. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top