Exemplo n.º 1
0
 public override void Dispose()
 {
     if (!IsDisposed)
     {
         m_tutorialText.Dispose();
         m_tutorialText = null;
         m_waypointList.Clear();
         m_waypointList = null;
         m_creditsText.Dispose();
         m_creditsText = null;
         m_creditsTitleText.Dispose();
         m_creditsTitleText = null;
         Array.Clear(m_tutorialTextList, 0, m_tutorialTextList.Length);
         Array.Clear(m_tutorialControllerTextList, 0, m_tutorialControllerTextList.Length);
         Array.Clear(m_creditsTextTitleList, 0, m_creditsTextTitleList.Length);
         Array.Clear(m_creditsTextList, 0, m_creditsTextList.Length);
         m_tutorialTextList           = null;
         m_creditsTextTitleList       = null;
         m_creditsTextList            = null;
         m_tutorialControllerTextList = null;
         m_door         = null;
         m_doorSprite   = null;
         m_diary        = null;
         m_speechBubble = null;
         base.Dispose();
     }
 }
Exemplo n.º 2
0
 public override void Dispose()
 {
     if (!IsDisposed)
     {
         Console.WriteLine("Disposing Game Over Boss Screen");
         m_lastBoss = null;
         m_dialoguePlate.Dispose();
         m_dialoguePlate = null;
         m_continueText.Dispose();
         m_continueText = null;
         m_playerGhost.Dispose();
         m_playerGhost = null;
         m_spotlight.Dispose();
         m_spotlight = null;
         m_bossFallSound.Dispose();
         m_bossFallSound = null;
         m_bossKneesSound.Dispose();
         m_bossKneesSound = null;
         m_playerFrame.Dispose();
         m_playerFrame = null;
         m_king.Dispose();
         m_king = null;
         base.Dispose();
     }
 }
Exemplo n.º 3
0
 public override void Dispose()
 {
     if (!IsDisposed)
     {
         Console.WriteLine("Disposing Get Item Screen");
         m_continueText.Dispose();
         m_continueText = null;
         m_levelUpBGImage.Dispose();
         m_levelUpBGImage = null;
         var levelUpParticles = m_levelUpParticles;
         for (var i = 0; i < levelUpParticles.Length; i++)
         {
             var spriteObj = levelUpParticles[i];
             spriteObj.Dispose();
         }
         Array.Clear(m_levelUpParticles, 0, m_levelUpParticles.Length);
         m_levelUpParticles = null;
         m_buildUpSound     = null;
         m_itemSprite.Dispose();
         m_itemSprite = null;
         m_itemFoundSprite.Dispose();
         m_itemFoundSprite = null;
         m_itemFoundText.Dispose();
         m_itemFoundText = null;
         m_tripStat1.Dispose();
         m_tripStat2.Dispose();
         m_tripStat1 = null;
         m_tripStat2 = null;
         m_tripStat1FoundText.Dispose();
         m_tripStat2FoundText.Dispose();
         m_tripStat1FoundText = null;
         m_tripStat2FoundText = null;
         base.Dispose();
     }
 }
Exemplo n.º 4
0
 public override void Dispose()
 {
     if (!IsDisposed)
     {
         Console.WriteLine("Disposing Options Screen");
         foreach (var current in m_optionsArray)
         {
             current.Dispose();
         }
         m_optionsArray.Clear();
         m_optionsArray = null;
         m_bgSprite.Dispose();
         m_bgSprite            = null;
         m_optionsTitle        = null;
         m_changeControlsTitle = null;
         m_backToMenuObj       = null;
         m_confirmText.Dispose();
         m_confirmText = null;
         m_cancelText.Dispose();
         m_cancelText = null;
         m_navigationText.Dispose();
         m_navigationText = null;
         m_optionsBar.Dispose();
         m_optionsBar     = null;
         m_selectedOption = null;
         m_quickDropText.Dispose();
         m_quickDropText       = null;
         m_quickDropObj        = null;
         m_enableSteamCloudObj = null;
         m_reduceQualityObj    = null;
         base.Dispose();
     }
 }
Exemplo n.º 5
0
 public override void Dispose()
 {
     if (!IsDisposed)
     {
         m_title.Dispose();
         m_title = null;
         m_slot1Container.Dispose();
         m_slot1Container = null;
         m_slot2Container.Dispose();
         m_slot2Container = null;
         m_slot3Container.Dispose();
         m_slot3Container = null;
         m_slotArray.Clear();
         m_slotArray    = null;
         m_selectedSlot = null;
         m_confirmText.Dispose();
         m_confirmText = null;
         m_cancelText.Dispose();
         m_cancelText = null;
         m_navigationText.Dispose();
         m_navigationText = null;
         m_deleteProfileText.Dispose();
         m_deleteProfileText = null;
         base.Dispose();
     }
 }
Exemplo n.º 6
0
 public override void Dispose()
 {
     if (!IsDisposed)
     {
         Console.WriteLine("Disposing Enchantress Screen");
         if (m_rainSound != null)
         {
             m_rainSound.Dispose();
         }
         m_rainSound = null;
         m_enchantressUI.Dispose();
         m_enchantressUI = null;
         m_equipmentDescriptionText.Dispose();
         m_equipmentDescriptionText = null;
         m_selectionIcon.Dispose();
         m_selectionIcon = null;
         m_equipmentTitleText.Dispose();
         m_equipmentTitleText = null;
         m_activeIconArray    = null;
         foreach (var current in m_masterIconArray)
         {
             for (var i = 0; i < current.Length; i++)
             {
                 current[i].Dispose();
                 current[i] = null;
             }
             Array.Clear(current, 0, current.Length);
         }
         m_masterIconArray.Clear();
         m_masterIconArray = null;
         m_descriptionText.Dispose();
         m_descriptionText = null;
         m_unlockCostContainer.Dispose();
         m_unlockCostContainer = null;
         m_instructionsText.Dispose();
         m_instructionsText = null;
         m_instructionsTitleText.Dispose();
         m_instructionsTitleText = null;
         m_equippedIcon.Dispose();
         m_equippedIcon = null;
         Player         = null;
         m_confirmText.Dispose();
         m_confirmText = null;
         m_cancelText.Dispose();
         m_cancelText = null;
         m_navigationText.Dispose();
         m_navigationText = null;
         m_playerMoney    = null;
         foreach (var current2 in m_newIconList)
         {
             current2.Dispose();
         }
         m_newIconList.Clear();
         m_newIconList = null;
         base.Dispose();
     }
 }
Exemplo n.º 7
0
 public override void Dispose()
 {
     if (!IsDisposed)
     {
         Console.WriteLine("Disposing Skill Screen");
         m_titleText.Dispose();
         m_titleText = null;
         m_bg.Dispose();
         m_bg = null;
         m_cloud1.Dispose();
         m_cloud1 = null;
         m_cloud2.Dispose();
         m_cloud2 = null;
         m_cloud3.Dispose();
         m_cloud3 = null;
         m_cloud4.Dispose();
         m_cloud4 = null;
         m_cloud5.Dispose();
         m_cloud5 = null;
         m_continueText.Dispose();
         m_continueText = null;
         m_toggleIconsText.Dispose();
         m_toggleIconsText = null;
         m_confirmText.Dispose();
         m_confirmText = null;
         m_navigationText.Dispose();
         m_navigationText = null;
         m_dialoguePlate.Dispose();
         m_dialoguePlate = null;
         m_selectionIcon.Dispose();
         m_selectionIcon = null;
         m_impactEffectPool.Dispose();
         m_impactEffectPool = null;
         m_manor.Dispose();
         m_manor    = null;
         m_shakeObj = null;
         m_playerMoney.Dispose();
         m_playerMoney = null;
         m_coinIcon.Dispose();
         m_coinIcon         = null;
         m_skillCurrent     = null;
         m_skillCost        = null;
         m_skillCostBG      = null;
         m_skillDescription = null;
         m_inputDescription = null;
         m_skillUpgrade     = null;
         m_skillLevel       = null;
         m_skillIcon        = null;
         m_skillTitle       = null;
         m_descriptionDivider.Dispose();
         m_descriptionDivider = null;
         base.Dispose();
     }
 }
Exemplo n.º 8
0
 public override void Dispose()
 {
     if (!IsDisposed)
     {
         m_tutorialText.Dispose();
         m_tutorialText = null;
         m_king.Dispose();
         m_king = null;
         base.Dispose();
     }
 }
Exemplo n.º 9
0
 public override void Dispose()
 {
     if (!IsDisposed)
     {
         Console.WriteLine("Disposing Map Screen");
         if (m_mapDisplay != null)
         {
             m_mapDisplay.Dispose();
         }
         m_mapDisplay = null;
         if (m_legend != null)
         {
             m_legend.Dispose();
         }
         m_legend = null;
         if (m_playerIcon != null)
         {
             m_playerIcon.Dispose();
         }
         m_playerIcon = null;
         if (m_teleporterList != null)
         {
             Array.Clear(m_teleporterList, 0, m_teleporterList.Length);
         }
         m_teleporterList = null;
         if (m_titleText != null)
         {
             m_titleText.Dispose();
         }
         m_titleText = null;
         if (m_continueText != null)
         {
             m_continueText.Dispose();
         }
         m_continueText = null;
         if (m_recentreText != null)
         {
             m_recentreText.Dispose();
         }
         m_recentreText = null;
         if (m_navigationText != null)
         {
             m_navigationText.Dispose();
         }
         m_navigationText = null;
         m_alzheimersQuestionMarks.Dispose();
         m_alzheimersQuestionMarks = null;
         base.Dispose();
     }
 }
Exemplo n.º 10
0
 public override void Dispose()
 {
     if (!IsDisposed)
     {
         Console.WriteLine("Disposing Lineage Screen");
         m_titleText.Dispose();
         m_titleText          = null;
         m_selectedLineageObj = null;
         foreach (var current in m_currentBranchArray)
         {
             current.Dispose();
         }
         m_currentBranchArray.Clear();
         m_currentBranchArray = null;
         foreach (var current2 in m_masterArray)
         {
             if (!current2.IsDisposed)
             {
                 current2.Dispose();
             }
         }
         m_masterArray.Clear();
         m_masterArray = null;
         if (m_startingLineageObj != null)
         {
             m_startingLineageObj.Dispose();
         }
         m_startingLineageObj = null;
         m_background.Dispose();
         m_background = null;
         m_bgShadow.Dispose();
         m_bgShadow    = null;
         m_selectTween = null;
         m_descriptionPlate.Dispose();
         m_descriptionPlate = null;
         m_confirmText.Dispose();
         m_confirmText = null;
         m_navigationText.Dispose();
         m_navigationText = null;
         m_rerollText.Dispose();
         m_rerollText = null;
         base.Dispose();
     }
 }
Exemplo n.º 11
0
 public override void Dispose()
 {
     if (!IsDisposed)
     {
         Console.WriteLine("Disposing Profile Card Screen");
         m_frontCard.Dispose();
         m_frontCard = null;
         m_backCard.Dispose();
         m_backCard         = null;
         m_playerName       = null;
         m_money            = null;
         m_levelClass       = null;
         m_playerHUD        = null;
         m_frontTrait1      = null;
         m_frontTrait2      = null;
         m_playerBG         = null;
         m_classDescription = null;
         m_author           = null;
         m_playerStats      = null;
         m_equipmentTitle   = null;
         m_runesTitle       = null;
         m_equipmentList.Clear();
         m_equipmentList = null;
         m_runeBackTitleList.Clear();
         m_runeBackTitleList = null;
         m_runeBackDescriptionList.Clear();
         m_runeBackDescriptionList = null;
         m_playerSprite.Dispose();
         m_playerSprite = null;
         m_spellIcon.Dispose();
         m_spellIcon = null;
         m_tombStoneSprite.Dispose();
         m_tombStoneSprite = null;
         m_cancelText.Dispose();
         m_cancelText = null;
         m_dataList1.Clear();
         m_dataList1 = null;
         m_dataList2.Clear();
         m_dataList2 = null;
         base.Dispose();
     }
 }
Exemplo n.º 12
0
 public override void Dispose()
 {
     if (!IsDisposed)
     {
         foreach (var current in m_frameList)
         {
             current.Dispose();
         }
         m_frameList.Clear();
         m_frameList = null;
         foreach (var current2 in m_plaqueList)
         {
             current2.Dispose();
         }
         m_plaqueList.Clear();
         m_plaqueList = null;
         m_cameraPosList.Clear();
         m_cameraPosList = null;
         foreach (var current3 in m_nameList)
         {
             current3.Dispose();
         }
         m_nameList.Clear();
         m_nameList = null;
         foreach (var current4 in m_slainCountText)
         {
             current4.Dispose();
         }
         m_slainCountText.Clear();
         m_slainCountText = null;
         m_endingMask.Dispose();
         m_endingMask = null;
         m_continueText.Dispose();
         m_continueText = null;
         m_background.Dispose();
         m_background = null;
         base.Dispose();
     }
 }
Exemplo n.º 13
0
 public override void Dispose()
 {
     if (!IsDisposed)
     {
         Console.WriteLine("Disposing Game Over Screen");
         m_player = null;
         m_dialoguePlate.Dispose();
         m_dialoguePlate = null;
         m_continueText.Dispose();
         m_continueText = null;
         m_playerGhost.Dispose();
         m_playerGhost = null;
         m_spotlight.Dispose();
         m_spotlight = null;
         m_playerFallSound.Dispose();
         m_playerFallSound = null;
         m_playerSwordFallSound.Dispose();
         m_playerSwordFallSound = null;
         m_playerSwordSpinSound.Dispose();
         m_playerSwordSpinSound = null;
         m_objKilledPlayer      = null;
         if (m_enemyList != null)
         {
             m_enemyList.Clear();
         }
         m_enemyList = null;
         if (m_enemyStoredPositions != null)
         {
             m_enemyStoredPositions.Clear();
         }
         m_enemyStoredPositions = null;
         m_playerFrame.Dispose();
         m_playerFrame = null;
         base.Dispose();
     }
 }
Exemplo n.º 14
0
 public override void Dispose()
 {
     if (!IsDisposed)
     {
         Console.WriteLine("Disposing Title Screen");
         m_godRayTexture.Dispose();
         m_godRayTexture = null;
         m_bg.Dispose();
         m_bg = null;
         m_logo.Dispose();
         m_logo = null;
         m_castle.Dispose();
         m_castle = null;
         m_smallCloud1.Dispose();
         m_smallCloud2.Dispose();
         m_smallCloud3.Dispose();
         m_smallCloud4.Dispose();
         m_smallCloud5.Dispose();
         m_smallCloud1 = null;
         m_smallCloud2 = null;
         m_smallCloud3 = null;
         m_smallCloud4 = null;
         m_smallCloud5 = null;
         m_largeCloud1.Dispose();
         m_largeCloud1 = null;
         m_largeCloud2.Dispose();
         m_largeCloud2 = null;
         m_largeCloud3.Dispose();
         m_largeCloud3 = null;
         m_largeCloud4.Dispose();
         m_largeCloud4 = null;
         m_pressStartText.Dispose();
         m_pressStartText = null;
         m_pressStartText2.Dispose();
         m_pressStartText2 = null;
         m_copyrightText.Dispose();
         m_copyrightText = null;
         m_versionNumber.Dispose();
         m_versionNumber = null;
         m_titleText.Dispose();
         m_titleText = null;
         m_profileCard.Dispose();
         m_profileCard = null;
         m_optionsIcon.Dispose();
         m_optionsIcon = null;
         m_creditsIcon.Dispose();
         m_creditsIcon = null;
         m_profileCardKey.Dispose();
         m_profileCardKey = null;
         m_optionsKey.Dispose();
         m_optionsKey = null;
         m_creditsKey.Dispose();
         m_creditsKey = null;
         m_crown.Dispose();
         m_crown = null;
         m_profileSelectKey.Dispose();
         m_profileSelectKey = null;
         m_dlcIcon.Dispose();
         m_dlcIcon    = null;
         m_seagullCue = null;
         base.Dispose();
     }
 }