예제 #1
0
파일: Family.cs 프로젝트: pjrader1/Audrey
        /// <summary>
        /// Specifies components that entities must contain none of.
        /// </summary>
        /// <param name="types">Types of components that entities must contain none of.</param>
        /// <returns>FamilyBuilder</returns>
        public static FamilyBuilder Exclude(params Type[] types)
        {
            FamilyBuilder familyBuilder = new FamilyBuilder();

            return(familyBuilder.Exclude(types));
        }
예제 #2
0
파일: Family.cs 프로젝트: pjrader1/Audrey
        /// <summary>
        /// Specifies components that entities must contain all of.
        /// </summary>
        /// <param name="types">Types of components that entities must contain all of.</param>
        /// <returns>FamilyBuilder</returns>
        public static FamilyBuilder All(params Type[] types)
        {
            FamilyBuilder familyBuilder = new FamilyBuilder();

            return(familyBuilder.All(types));
        }