AreaFlags.cs

src/Continents/Areas/AreaFlags.cs · 1.4 KB

From the archive Arthea-src-1.0.zip

Download the archive   « Back to the archive contents

#region Arthea License

/***********************************************************************
*  Arthea MUD by R. Jennings (2007)      http://arthea.googlecode.com/ *
*  By using this code you comply with the Artistic and GPLv2 Licenses. *
***********************************************************************/

#endregion

namespace Arthea.Continents.Areas
{
    /// <summary>
    /// Implementation of a area flags.
    /// </summary>
    public class AreaFlags : Flag
    {
        #region [rgn] Fields (1)

        /// <summary>
        /// Area has changed
        /// </summary>
        public const ulong Changed = (1UL << 0);

        #endregion [rgn]

        #region [rgn] Constructors (3)

        /// <summary>
        /// Initializes a new instance of the <see cref="AreaFlags"/> class.
        /// </summary>
        /// <param name="flag">The bit array.</param>
        public AreaFlags(Flag flag) : base(flag)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="AreaFlags"/> class.
        /// </summary>
        /// <param name="mask">The mask.</param>
        public AreaFlags(ulong mask) : base(mask)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="AreaFlags"/> class.
        /// </summary>
        public AreaFlags()
        {
        }

        #endregion [rgn]
    }
}

Site Stats

Snippets: 1791
Codebases: 571