Esempio n. 1
0
    public virtual void BeginBattle()
    {
        if (m_passive != null)
        {
            m_passive.BeginBattle();
        }

        if (m_strategy != null)
        {
            GetHeroInfo().isActive = m_strategy.GetActive();
            m_strategy.OnBeginBattle();
        }
    }