Exemple #1
0
 public TransformTimer(Harrower harrower)
     : base(TimeSpan.FromSeconds(5), TimeSpan.FromMilliseconds(5000))
 {
     m_Harrower    = harrower;
     m_OriginalZ   = m_Harrower.Z;
     m_Harrower.Z -= 110;
 }
Exemple #2
0
		public static Harrower Spawn( Point3D platLoc, Map platMap )
		{
			if ( m_Instances.Count > 0 )
				return null;

			SpawnEntry entry = m_Entries[Utility.Random( m_Entries.Length )];

			Harrower harrower = new Harrower();

			harrower.MoveToWorld( entry.m_Location, Map.Felucca );

			harrower.m_GateItem = new HarrowerGate( harrower, platLoc, platMap, entry.m_Entrance, Map.Felucca );

			return harrower;
		}
Exemple #3
0
        public static Harrower Spawn(Point3D platLoc, Map platMap)
        {
            if (m_Instances.Count > 0)
            {
                return(null);
            }

            SpawnEntry entry = m_Entries[Utility.Random(m_Entries.Length)];

            Harrower harrower = new Harrower();

            harrower.MoveToWorld(entry.m_Location, Map.Felucca);

            harrower.m_GateItem = new HarrowerGate(harrower, platLoc, platMap, entry.m_Entrance, Map.Felucca);

            return(harrower);
        }
Exemple #4
0
        public static Harrower Spawn(Point3D platLoc, Map platMap)
        {
            if (Instances.Count > 0)
            {
                return(null);
            }

            var entry = m_Entries.RandomElement();

            var harrower = new Harrower();

            harrower.MoveToWorld(entry.m_Location, Map.Felucca);

            harrower.m_GateItem = new HarrowerGate(harrower, platLoc, platMap, entry.m_Entrance, Map.Felucca);

            return(harrower);
        }
Exemple #5
0
        public static Harrower Spawn(Point3D platLoc, Map platMap)
        {
            if (Instances.Count > 0)
            {
                return null;
            }

            SpawnEntry entry = m_Entries.GetRandom();

            var harrower = new Harrower();

            harrower.MoveToWorld(entry._Location, Map.Felucca);

            harrower._GateItem = new HarrowerGate(harrower, platLoc, platMap, entry._Entrance, Map.Felucca);

            return harrower;
        }
Exemple #6
0
 public TransformTimer(Harrower harrower)
     : base(TimeSpan.FromSeconds(5), TimeSpan.FromMilliseconds(5000))
 {
     m_Harrower = harrower;
     m_OriginalZ = m_Harrower.Z;
     m_Harrower.Z -= 110;
 }