public void OnDestroy() { EndTransition(); if (GLEx.Self != null) { GLEx.Self.Dispose(); } scene = null; screens.Clear(); if (isInstance) { isInstance = false; loads.Clear(); unloads.Clear(); drawings.Clear(); if (currentControl != null) { currentControl.Destroy(); currentControl = null; } LSystem.isLogo = false; LSystem.isPaused = true; LSystem.AUTO_REPAINT = false; LImage.DisposeAll(); LTextures.DisposeAll(); XNACircle.Free(); InitDestory(); } }
public LProcess(LGameXNA2DActivity p, int width, int height) { this.scene = p; this.currentInput = new LInputFactory(this); this.screens = new LinkedList <Screen>(); this.width = width; this.height = height; this.Clear(); }
public LProcess(LGameXNA2DActivity p, int width, int height) { this.scene = p; this.currentInput = new LInputFactory(this); this.screens = new LinkedList<Screen>(); this.width = width; this.height = height; this.Clear(); }