Ejemplo n.º 1
0
 public void SetSilverlightListener(SilverlightListener l)
 {
     if (l != null)
     {
         this.sl_listener    = l;
         this.useXNAListener = true;
     }
     else
     {
         this.useXNAListener = false;
     }
 }
Ejemplo n.º 2
0
 public void Destory()
 {
     log.I("LGame 2D Engine Shutdown");
     isClose = true;
     XNAConfig.Dispose();
     useXNAListener = false;
     if (this.sl_listener != null)
     {
         this.sl_listener.Dispose(GamePage, true);
         this.sl_listener = null;
     }
     if (UIElementRenderer != null)
     {
         UIElementRenderer.Dispose();
         UIElementRenderer = null;
     }
     if (content != null)
     {
         content.Unload();
         content = null;
     }
 }
Ejemplo n.º 3
0
 public void SetSilverlightListener(SilverlightListener l)
 {
     if (l != null)
     {
         this.sl_listener = l;
         this.useXNAListener = true;
     }
     else
     {
         this.useXNAListener = false;
     }
 }
Ejemplo n.º 4
0
 public void Destory()
 {
     log.I("LGame 2D Engine Shutdown");
     isClose = true;
     XNAConfig.Dispose();
     useXNAListener = false;
     if (this.sl_listener != null)
     {
         this.sl_listener.Dispose(GamePage, true);
         this.sl_listener = null;
     }
     if (UIElementRenderer != null)
     {
         UIElementRenderer.Dispose();
         UIElementRenderer = null;
     }
     if (content != null)
     {
         content.Unload();
         content = null;
     }
 }