Provides common information about XRebirth based games.
Inheritance: GameModeDescriptorBase
Beispiel #1
0
 /// <summary>
 /// Creates a game mode descriptor for the current game mode.
 /// </summary>
 /// <returns>A game mode descriptor for the current game mode.</returns>
 protected override IGameModeDescriptor CreateGameModeDescriptor()
 {
     if (m_gmdGameModeInfo == null)
     {
         m_gmdGameModeInfo = new XRebirthGameModeDescriptor(EnvironmentInfo);
     }
     return(m_gmdGameModeInfo);
 }
		/// <summary>
		/// Creates a game mode descriptor for the current game mode.
		/// </summary>
		/// <returns>A game mode descriptor for the current game mode.</returns>
		protected override IGameModeDescriptor CreateGameModeDescriptor()
		{
			if (m_gmdGameModeInfo == null)
				m_gmdGameModeInfo = new XRebirthGameModeDescriptor(EnvironmentInfo);
			return m_gmdGameModeInfo;
		}