示例#1
0
文件: Team.cs 项目: LordEnigma/UO
        public virtual void InvalidateFlagPodium()
        {
            if (Deserializing || SpawnPoint == Point3D.Zero || Battle.Options.Locations.Map == null ||
                Battle.Options.Locations.Map == Map.Internal)
            {
                return;
            }

            if (FlagPodium == null || FlagPodium.Deleted)
            {
                FlagPodium = new CTFPodium(this);
            }
            else
            {
                FlagPodium.Hue  = Color;
                FlagPodium.Name = Name;
            }

            FlagPodium.MoveToWorld(SpawnPoint, Battle.Options.Locations.Map);
        }
示例#2
0
文件: Team.cs 项目: jasegiffin/JustUO
		public virtual void InvalidateFlagPodium()
		{
			if (Deserializing || SpawnPoint == Point3D.Zero || Battle.Options.Locations.Map == null ||
				Battle.Options.Locations.Map == Map.Internal)
			{
				return;
			}

			if (FlagPodium == null || FlagPodium.Deleted)
			{
				FlagPodium = new CTFPodium(this);
			}
			else
			{
				FlagPodium.Hue = Color;
				FlagPodium.Name = Name;
			}

			FlagPodium.MoveToWorld(SpawnPoint, Battle.Options.Locations.Map);
		}