public TransformTimer(Harrower harrower) : base(TimeSpan.FromSeconds(5), TimeSpan.FromMilliseconds(5000)) { m_Harrower = harrower; m_OriginalZ = m_Harrower.Z; m_Harrower.Z -= 110; }
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; }
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); }
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); }
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; }