Exemplo n.º 1
0
 public LGameAndroid2DView(LGameAndroid2DActivity activity, boolean isLandscape, LMode mode) {
   super(activity.getApplicationContext());
   try {
     LSystem.setupHandler(activity, this, isLandscape, mode);
     this.handler = LSystem.getSystemHandler();
     this.handler.initScreen();
     this.activity = handler.getLGameActivity();
     this.setFPS(LSystem.DEFAULT_MAX_FPS);
     this.createScreen();
   } catch (Exception e) {
   }
 }