예제 #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;
 }