//初始化
 public void Initialize(Card _card, int selectType, int intoType)
 {
     this.intoType   = intoType;
     this.selectType = selectType;
     win             = fatherWindow as IntensifyCardChooseWindow;
     updateButton(_card);
 }
    public override void DoLongPass()
    {
        if (!GuideManager.Instance.isGuideComplete())
        {
            return;
        }
        if (card == null)
        {
            return;
        }

        UiManager.Instance.openWindow <CardBookWindow> ((win) => {
            IntensifyCardChooseWindow icwin = fatherWindow as IntensifyCardChooseWindow;
            ArrayList arrayList             = icwin.content.getRoleList();
            List <Card> list = new List <Card> (arrayList.Count);
            int index        = 0;
            for (int i = 0; i < arrayList.Count; i++)
            {
                if (arrayList[i] == card)
                {
                    index = i;
                }
                list.Add((Card)arrayList[i]);
            }
            win.init(list, index, CardBookWindow.SHOW, openFatherWindow);
        });
    }