Пример #1
0
 /// <summary>
 /// (Cross-Game compatible) Return all AbilityModel behaviors from this tower, if it has any
 /// </summary>
 public static List <AbilityModel> GetAbilites(this TowerModel towerModel)
 {
     return(towerModel.GetBehaviors <AbilityModel>());
 }
Пример #2
0
 /// <summary>
 /// (Cross-Game compatible) Return all AttackModel behaviors for this TowerModel
 /// </summary>
 public static List <AttackModel> GetAttackModels(this TowerModel towerModel)
 {
     return(towerModel.GetBehaviors <AttackModel>());
 }