Exemple #1
0
 private void SetAllPillars(NavreysPillarState state)
 {
     for (int i = 0; i < m_Pillars.Length; i++)
     {
         NavreysPillar pillar = m_Pillars[i];
         pillar.State = state;
     }
 }
Exemple #2
0
        public override void Delete()
        {
            base.Delete();

            for (int i = 0; i < m_Pillars.Length; i++)
            {
                NavreysPillar pillar = m_Pillars[i];
                pillar.Delete();
            }

            m_Navrey.Delete();
        }
Exemple #3
0
        public NavreysController()
            : base(0x1F13)
        {
            Name    = "Navrey Spawner - Do not remove !!";
            Visible = false;
            Movable = false;

            MoveToWorld(new Point3D(1054, 861, -31), Map.TerMur);

            m_Pillars = new NavreysPillar[3];

            m_Pillars[0] = new NavreysPillar(this, PillarType.Three);
            m_Pillars[0].MoveToWorld(new Point3D(1071, 847, 0), Map.TerMur);
            m_Pillars[1] = new NavreysPillar(this, PillarType.Six);
            m_Pillars[1].MoveToWorld(new Point3D(1039, 879, 0), Map.TerMur);
            m_Pillars[2] = new NavreysPillar(this, PillarType.Nine);
            m_Pillars[2].MoveToWorld(new Point3D(1039, 850, 0), Map.TerMur);

            Respawn();
        }
        public NavreysController()
            : base(0x1F13)
        {
            Name = "Navrey Spawner - Do not remove !!";
            Visible = false;
            Movable = false;

            MoveToWorld( new Point3D( 1054, 861, -31 ), Map.TerMur );

            m_Pillars = new NavreysPillar[3];

            m_Pillars[0] = new NavreysPillar( this );
            m_Pillars[0].MoveToWorld( new Point3D( 1071, 847, 0 ), Map.TerMur );
            m_Pillars[1] = new NavreysPillar( this );
            m_Pillars[1].MoveToWorld( new Point3D( 1039, 879, 0 ), Map.TerMur );
            m_Pillars[2] = new NavreysPillar( this );
            m_Pillars[2].MoveToWorld( new Point3D( 1039, 850, 0 ), Map.TerMur );

            Respawn();
        }
Exemple #5
0
 public InternalTimer(NavreysPillar pillar)
     : base(TimeSpan.Zero, TimeSpan.FromSeconds(0.5))
 {
     m_Pillar = pillar;
     m_Ticks  = 6 * (int)pillar.Type; // 3, 6, 9 seconds
 }
Exemple #6
0
 public InternalTimer(NavreysPillar pillar)
     : base(TimeSpan.Zero, TimeSpan.FromSeconds(0.25))
 {
     m_Pillar = pillar;
     m_Ticks  = 20;                // 5 seconds
 }
Exemple #7
0
 public InternalTimer( NavreysPillar pillar )
     : base(TimeSpan.Zero, TimeSpan.FromSeconds( 0.25 ))
 {
     m_Pillar = pillar;
     m_Ticks = 20; // 5 seconds
 }