Пример #1
0
    //get monthly donations fees
    public int GetTotalMonthDonations()
    {
        if (m_Donations == null)
        {
            return(0);
        }

        if (m_Popularity == null)
        {
            return(0);
        }

        return(m_Donations.GetMonthlyDonation(m_CurrentTreeNumber, m_CurrentPlantNumber, m_Popularity.m_CurrentPopularity));
    }