Beispiel #1
0
        /// <summary>
        /// Will Convert this bee into a <see cref="BeeType.QUEEN"/> Bee
        /// </summary>
        /// <param name="princess">The <see cref="BeeType.PRINCESS"/> Stats</param>
        /// <param name="drone">The <see cref="BeeType.DRONE"/></param>
        public static void ConvertToQueen(ref Bee princess, NormalBee drone)
        {
            princess.beeType   = BeeType.QUEEN;
            princess.queenBee  = new QueenBee(princess.normalBee, drone);
            princess.normalBee = null;

            princess.itemName = new CultureInfo("en-US", false).TextInfo.ToTitleCase($"{princess.queenBee.queen.pSpecies} {princess.beeType}".ToLower());
        }
Beispiel #2
0
 /// <summary>
 /// Will convery this bee to a <see cref="BeeType.QUEEN"/> useing this bees stats as the <see cref="BeeType.PRINCESS"/> stats
 /// </summary>
 /// <param name="drone"></param>
 public static void ConvertToQueen(Bee princess, NormalBee drone)
 {
     ConvertToQueen(ref princess, drone);
 }