예제 #1
0
        public XmlBackground(BackgroundList b, int addlevel)
        {
            m_Background = b;
            m_Level = addlevel;

            if (m_Level < 0)
                Name = (m_Background.ToString() + " " + m_Level.ToString());
            else
                Name = (m_Background.ToString() + " +" + m_Level.ToString());
        }
예제 #2
0
        public XmlBackground(BackgroundList b, int addlevel, int duration)
        {
            m_Background = b;
            m_Level = addlevel;
            Expiration = TimeSpan.FromMinutes(duration);

            if (m_Level < 0)
                Name = (m_Background.ToString() + " " + m_Level.ToString());
            else
                Name = (m_Background.ToString() + " +" + m_Level.ToString());
        }