diff --git a/SVSim.BattleEngine/Engine/UITweener.cs b/SVSim.BattleEngine/Engine/UITweener.cs index 15c28578..ada97531 100644 --- a/SVSim.BattleEngine/Engine/UITweener.cs +++ b/SVSim.BattleEngine/Engine/UITweener.cs @@ -178,11 +178,6 @@ public abstract class UITweener : MonoBehaviour } } - public void SetOnFinished(EventDelegate.Callback del) - { - EventDelegate.Set(onFinished, del); - } - public void SetOnFinished(EventDelegate del) { EventDelegate.Set(onFinished, del); diff --git a/SVSim.BattleEngine/Engine/Wizard/DeckAttributeType.cs b/SVSim.BattleEngine/Engine/Wizard/DeckAttributeType.cs index cac61937..012e04a0 100644 --- a/SVSim.BattleEngine/Engine/Wizard/DeckAttributeType.cs +++ b/SVSim.BattleEngine/Engine/Wizard/DeckAttributeType.cs @@ -7,5 +7,4 @@ public enum DeckAttributeType BuildDeck, TrialDeck, DefaultDeck, - SampleDeck, - QuestSecretBoss} + SampleDeck} diff --git a/SVSim.BattleEngine/Engine/Wizard/DeckSelectUI.cs b/SVSim.BattleEngine/Engine/Wizard/DeckSelectUI.cs index 1d61f790..88554827 100644 --- a/SVSim.BattleEngine/Engine/Wizard/DeckSelectUI.cs +++ b/SVSim.BattleEngine/Engine/Wizard/DeckSelectUI.cs @@ -15,8 +15,7 @@ public class DeckSelectUI : MonoBehaviour private enum ChangeMoveDirection { - NONE, - RIGHT } + NONE} public class PageData { @@ -64,39 +63,7 @@ public class DeckSelectUI : MonoBehaviour Obj = uiGrid.gameObject; Obj.SetActive(value: true); } - - public void UpdateDeckViewList(List deckViewList, bool canUseNonPossessionCard) - { - for (int i = 0; i < _deckUIList.Count; i++) - { - if (deckViewList.Count > i) - { - DeckUI deckUI = _deckUIList[i]; - deckUI.gameObject.SetActive(value: true); - deckUI.UpdateView(deckViewList[i], canUseNonPossessionCard); - _onUpdateDeckUICustomize.Call(deckUI); - } - else - { - _deckUIList[i].gameObject.SetActive(value: false); - } - } - } } private static readonly Vector3 VIEW_PAGE_POSITION = Vector3.zero; - - private static readonly Vector3 OUTSIDE_RIGHT_PAGE_POSITION = VIEW_PAGE_POSITION + Vector3.right * 1400f; - - private static readonly Vector3 OUTSIDE_LEFT_PAGE_POSITION = VIEW_PAGE_POSITION + Vector3.left * 1400f; - - private DeckTable[] _deckTables = new DeckTable[2]; - - private int _deckTableIndex; - - private List _pageList; - - private bool _canUseNonPossessionCard; - - public bool IsPageMoving { get; private set; } }