Пример #1
0
        public static Guid createdMob(Transform mobTransform)
        {
            var mobInfo = new MobInformation().Init(mobTransform);

            MobsInformation.Add(mobInfo);

            return(mobInfo.Id);
        }
Пример #2
0
 public static bool IsMainGroup(MobInformation mob)
 {
     foreach (var group in Groups)
     {
         if (group.IdMobMain == mob.Id)
         {
             return(true);
         }
     }
     return(false);
 }