public override void Destroy(GameTime gameTime) { wBackPanel.Dispose(); sP.Dispose(); sS.Dispose(); sT.Dispose(); wr.Dispose(); }
public void Dispose() { WidgetBase.Dispose(); icon.Dispose(); rectHealthBack.Dispose(); rectHealthFore.Dispose(); txtName.Dispose(); combatData.Dispose(); uiCStats.Dispose(); }
public void Dispose() { wBorder.Dispose(); wR.Dispose(); sbR.Dispose(); wG.Dispose(); sbG.Dispose(); wB.Dispose(); sbB.Dispose(); wCol.Dispose(); }
public void Dispose() { WidgetBase.Dispose(); icon.Dispose(); rectHealthBack.Dispose(); rectHealthFore.Dispose(); txtName.Dispose(); rectQueueBack.Dispose(); rectQueueFore.Dispose(); foreach (var btn in queueButtons) { btn.Dispose(); } }
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; } }