Example #1
0
 /// <summary>
 /// Get the BloonModel of the bloonId you enter
 /// </summary>
 /// <param name="bloonId">The ID of the bloon you want</param>
 /// <returns></returns>
 public static BloonModel GetBloon(DefaultBloonIds bloonId, bool isCamo = false, bool isFortified = false, bool isRegrow = false,
                                   bool ignoreException = true) => GetBloon(bloonId.ToString(), isCamo, isFortified, isRegrow, true);
Example #2
0
 /// <summary>
 /// Get the next strongest bloon. Ex: the next strongest bloon after Red is Red Regrow
 /// </summary>
 /// <param name="bloonId">The bloon id of the current bloon. Ex: Red</param>
 /// <param name="allowCamo">Is it okay if the next bloon is a camo bloon. Ex: Red => RedCamo</param>
 /// <param name="allowFortified">Is it okay if the next bloon is a Fortified bloon. Ex: Red => RedFortified</param>
 /// <param name="allowRegrow">Is it okay if the next bloon is a Regrow bloon. Ex: Red => RedRegrow</param>
 /// <returns>The next strongest bloon</returns>
 public static BloonModel GetNextStrongestBloon(DefaultBloonIds bloonId, bool allowCamo = true,
                                                bool allowFortified = true, bool allowRegrow = true, bool ignoreException = false) => GetNextStrongestBloon(bloonId.ToString(),
                                                                                                                                                            allowCamo, allowFortified, allowRegrow, true);