コード例 #1
0
 public override void Destroy(GameTime gameTime)
 {
     wBackPanel.Dispose();
     sP.Dispose();
     sS.Dispose();
     sT.Dispose();
     wr.Dispose();
 }
コード例 #2
0
ファイル: RTSUnitDataPanel.cs プロジェクト: Antr0py/VoxelRTS
 public void Dispose()
 {
     WidgetBase.Dispose();
     icon.Dispose();
     rectHealthBack.Dispose();
     rectHealthFore.Dispose();
     txtName.Dispose();
     combatData.Dispose();
     uiCStats.Dispose();
 }
コード例 #3
0
 public void Dispose()
 {
     wBorder.Dispose();
     wR.Dispose();
     sbR.Dispose();
     wG.Dispose();
     sbG.Dispose();
     wB.Dispose();
     sbB.Dispose();
     wCol.Dispose();
 }
コード例 #4
0
 public void Dispose()
 {
     WidgetBase.Dispose();
     icon.Dispose();
     rectHealthBack.Dispose();
     rectHealthFore.Dispose();
     txtName.Dispose();
     rectQueueBack.Dispose();
     rectQueueFore.Dispose();
     foreach (var btn in queueButtons)
     {
         btn.Dispose();
     }
 }
コード例 #5
0
 public void Dispose()
 {
     if (rectBase != null)
     {
         rectBase.Dispose();
         rectBase = null;
     }
     if (rectPopPic != null)
     {
         rectPopPic.Dispose();
         rectPopPic = null;
     }
     if (rectCapital != null)
     {
         rectCapital.Dispose();
         rectCapital = null;
     }
     if (textPopCur != null)
     {
         textPopCur.Dispose();
         textPopCur = null;
     }
     if (textPopCap != null)
     {
         textPopCap.Dispose();
         textPopCap = null;
     }
     if (textCapital != null)
     {
         textCapital.Dispose();
         textCapital = null;
     }
     if (textVictory != null)
     {
         textVictory.Dispose();
         textVictory = null;
     }
 }