public static bool HasBehavior <T>(this AddBehaviorToBloonModel model) where T : Model
 {
     return(model.behaviors.HasItemsOfType <Model, T>());
 }
 public static void RemoveBehaviors <T>(this AddBehaviorToBloonModel model) where T : Model
 {
     model.behaviors = model.behaviors.RemoveItemsOfType <Model, T>();
 }
 public static void RemoveBehavior <T>(this AddBehaviorToBloonModel model, T behavior) where T : Model
 {
     model.behaviors = model.behaviors.RemoveItem(behavior);
 }
 public static void AddBehavior <T>(this AddBehaviorToBloonModel model, T behavior) where T : BloonBehaviorModel
 {
     model.behaviors = model.behaviors.AddTo(behavior);
 }
 public static List <T> GetBehaviors <T>(this AddBehaviorToBloonModel model) where T : Model
 {
     return(model.behaviors.GetItemsOfType <Model, T>());
 }
 public static T GetBehavior <T>(this AddBehaviorToBloonModel model) where T : Model
 {
     return(model.behaviors.GetItemOfType <BloonBehaviorModel, T>());
 }