Esempio n. 1
0
		internal override void Init(GameObjects.GOEntry entry, GameObjects.GOTemplate templ)
		{
			base.Init(entry, templ);

			m_goTransportEntry = Entry as GOMOTransportEntry;
			TransportMgr.TransportEntries.TryGetValue(m_entry.GOId, out m_transportEntry);
			m_isMOTransport = m_goTransportEntry != null && m_transportEntry != null;
		}
Esempio n. 2
0
		internal override void Init(GOEntry entry, GOSpawnEntry spawnEntry, GOSpawnPoint spawnPoint)
		{
			base.Init(entry, spawnEntry, spawnPoint);

			m_goTransportEntry = Entry as GOMOTransportEntry;
			TransportMgr.TransportEntries.TryGetValue(m_entry.GOId, out m_transportEntry);
			m_isMOTransport = m_goTransportEntry != null && m_transportEntry != null;
		}
Esempio n. 3
0
		//private List<uint> m_accelerationVertexIds, m_decelerationVertexIds;

        //private bool m_ready;

		public TransportMovement(GOMOTransportEntry entry, uint period)
		{
			m_entry = entry;
			//m_period = period;
			Initialize();
		}