Ejemplo n.º 1
0
        protected ArathiBase(ArathiBasin instance, GOEntry flagstand)
        {
            Instance = instance;

            Instance.RegisterUpdatableLater(StartScoreTimer);
            Instance.RegisterUpdatableLater(CaptureTimer);

            SpawnNeutral();
        }
Ejemplo n.º 2
0
 public void Destroy()
 {
     Capturer = null;
     Instance = null;
     FlagStand.Delete();
     FlagStand.Dispose();
     ActualAura.Delete();
     ActualAura.Dispose();
 }
Ejemplo n.º 3
0
        public Stables(ArathiBasin instance)
            : base(instance)
        {
            showIconNeutral = WorldStateId.ABShowStableIcon;
            showIconAllianceContested = WorldStateId.ABShowStableIconAllianceContested;
            showIconAllianceControlled = WorldStateId.ABShowStableIconAlliance;
            showIconHordeContested = WorldStateId.ABShowStableIconHordeContested;
            showIconHordeControlled = WorldStateId.ABShowStableIconHorde;

            Names = DefaultAddonLocalizer.Instance.GetTranslations(AddonMsgKey.ABStables);
        }
Ejemplo n.º 4
0
        public Stables(ArathiBasin instance)
            : base(instance)
        {
            showIconNeutral            = WorldStateId.ABShowStableIcon;
            showIconAllianceContested  = WorldStateId.ABShowStableIconAllianceContested;
            showIconAllianceControlled = WorldStateId.ABShowStableIconAlliance;
            showIconHordeContested     = WorldStateId.ABShowStableIconHordeContested;
            showIconHordeControlled    = WorldStateId.ABShowStableIconHorde;

            Names = DefaultAddonLocalizer.Instance.GetTranslations(AddonMsgKey.ABStables);
        }
Ejemplo n.º 5
0
		protected ArathiBase(ArathiBasin instance, GOEntry flagstand)
		{
			Instance = instance;

			// init timers
			CaptureTimer = new TimerEntry(dt =>
			{
				Capture();
			});

			StartScoreTimer = new TimerEntry(dt =>
			{
				GivesScore = true;
			});

			Instance.RegisterUpdatableLater(StartScoreTimer);
			Instance.RegisterUpdatableLater(CaptureTimer);

			// TODO: flagstand?
			SpawnNeutral();
		}
Ejemplo n.º 6
0
		protected ArathiBase(ArathiBasin instance)
		{
			Instance = instance;

			// init timers
			CaptureTimer = new TimerEntry(dt =>
			{
				Capture();
			});

			StartScoreTimer = new TimerEntry(dt =>
			{
				GivesScore = true;
			});

			Instance.RegisterUpdatableLater(StartScoreTimer);
			Instance.RegisterUpdatableLater(CaptureTimer);

            Names = new string[(int)ClientLocale.End];
            AddSpawns();
			SpawnNeutral();
		}
Ejemplo n.º 7
0
        protected ArathiBase(ArathiBasin instance)
        {
            Instance = instance;

            // init timers
            CaptureTimer = new TimerEntry(dt =>
            {
                Capture();
            });

            StartScoreTimer = new TimerEntry(dt =>
            {
                GivesScore = true;
            });

            Instance.RegisterUpdatableLater(StartScoreTimer);
            Instance.RegisterUpdatableLater(CaptureTimer);

            Names = new string[(int)ClientLocale.End];
            AddSpawns();
            SpawnNeutral();
        }
Ejemplo n.º 8
0
		public void Destroy()
		{
			Capturer = null;
			Instance = null;
		}
Ejemplo n.º 9
0
 public Stables(ArathiBasin instance)
     : base(instance, null)
 {
 }
Ejemplo n.º 10
0
		public void Destroy()
		{
			Capturer = null;
			Instance = null;
            FlagStand.Delete();
            FlagStand.Dispose();
            ActualAura.Delete();
            ActualAura.Dispose();
		}