Пример #1
0
 public static void CancelSiege()
 {
     if (currentSiege != null)
     {
         currentSiege.CancelSiege();
         currentSiege = null;
     }
 }
Пример #2
0
        public static void StartSiege(MapHolder map)
        {
            if (currentSiege != null)
            {
                return;
            }

            currentSiege = new Siege(map);
            currentSiege.InitSiege();

            currentSiege.mobs.Add(new SiegeMobData(MonsterId.Neutrophyle_Patrol, 1, 0, 1, Siege.DIRECTION_RIGHT));
            currentSiege.mobs.Add(new SiegeMobData(MonsterId.Neutrophyle_Patrol, 1, 0, 1, Siege.DIRECTION_RIGHT));
            currentSiege.mobs.Add(new SiegeMobData(MonsterId.FloatingBasicCell, 1, 5, 1, Siege.DIRECTION_RIGHT));
            currentSiege.mobs.Add(new SiegeMobData(MonsterId.FloatingBasicCell, 1, 5, 1, Siege.DIRECTION_RIGHT));

            currentSiege.StartSiege();
        }
Пример #3
0
 public static void SiegeEnd()
 {
     currentSiege = null;
 }