Exemplo n.º 1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Initializes a new instance of the <see cref="T:BulletInfo"/> class.
 /// </summary>
 /// <param name="other">The other bullet info to copy from.</param>
 /// ------------------------------------------------------------------------------------
 public BulletInfo(BulletInfo other)
 {
     m_numberScheme = other.m_numberScheme;
     m_start        = other.m_start;
     m_textBefore   = other.m_textBefore;
     m_textAfter    = other.m_textAfter;
     m_fontInfo     = new FontInfo(other.FontInfo);
 }
Exemplo n.º 2
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Compares the contents to another instance of a BulletInfo
 /// </summary>
 /// <param name="other">item to compare to</param>
 /// <returns>true if the contents are equal</returns>
 /// ------------------------------------------------------------------------------------
 public bool CompareEquals(BulletInfo other)
 {
     return
         ((m_numberScheme == other.m_numberScheme) &&
          (m_start == other.m_start) &&
          (m_textAfter == other.m_textAfter) &&
          (m_textBefore == other.m_textBefore) &&
          (m_fontInfo == other.m_fontInfo));
 }