コード例 #1
0
ファイル: LProcess.cs プロジェクト: nobcdz/LGame
 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();
     }
 }
コード例 #2
0
ファイル: LProcess.cs プロジェクト: nobcdz/LGame
 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();
 }
コード例 #3
0
ファイル: LProcess.cs プロジェクト: hanbingyin/LGame
 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();
 }
コード例 #4
0
ファイル: LProcess.cs プロジェクト: 207h2Flogintvg/LGame
 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();
     }
 }