Пример #1
0
 public LProcess(LFXPlus 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();
 }
Пример #2
0
 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;
         LTextures.DisposeAll();
         XNACircle.Free();
         InitDestory();
     }
 }