コード例 #1
0
            /// <summary>
            /// Returns the list of NPCs that have the given birthday. Returns null if no NPC matches the date.
            /// </summary>
            internal List <NPC> GetNpcs(string season, int day)
            {
                Birthday birthday = GetBirthday(season, day);

                if (birthday == null)
                {
                    return(null);
                }
                else
                {
                    return(birthday.GetNPCs());
                }
            }