Exemplo n.º 1
0
    protected override void InitializeComponents()
    {
        base.InitializeComponents();
        CardDescComponent.SetCardName(CardInfo.BaseInfo.CardNames[LanguageManager.Instance.GetCurrentLanguage()]);
        CardDescComponent.SetTempCard(false);
        CardBasicComponent.ChangePicture(CardInfo.BaseInfo.PictureID);
        CardSlotsComponent.SetSlot(ClientPlayer, this, CardInfo.MechInfo);
        CardSlotsComponent.ShowAllSlotBlooms(false);

        MechLifeComponent.Initialize(this);
        MechAttrShapesComponent.Initialize(this);
        MechBattleInfoComponent.Initialize(this);
        MechBloomComponent.Initialize(this);
        MechTargetPreviewArrowsComponent.Initialize(this);
        MechTriggerIconComponent.Initialize(this);
        MechSwordShieldArmorComponent.Initialize(this);
        MechEquipSystemComponent.Initialize(this);
    }