Пример #1
0
        protected ArathiBase(ArathiBasin instance, GOEntry flagstand)
        {
            Instance = instance;

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

            SpawnNeutral();
        }
Пример #2
0
 public void Destroy()
 {
     Capturer = null;
     Instance = null;
     FlagStand.Delete();
     FlagStand.Dispose();
     ActualAura.Delete();
     ActualAura.Dispose();
 }
Пример #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);
        }
Пример #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);
        }
Пример #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();
		}
Пример #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();
		}
Пример #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();
        }
Пример #8
0
		public void Destroy()
		{
			Capturer = null;
			Instance = null;
		}
Пример #9
0
 public Stables(ArathiBasin instance)
     : base(instance, null)
 {
 }
Пример #10
0
		public void Destroy()
		{
			Capturer = null;
			Instance = null;
            FlagStand.Delete();
            FlagStand.Dispose();
            ActualAura.Delete();
            ActualAura.Dispose();
		}