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) { } }
public Sprites() { this.visible = true; this.width = LSystem.getSystemHandler().getWidth(); this.height = LSystem.getSystemHandler().getHeight(); this.sprites = new ISprite[capacity]; }