Provides common information about StateOfDecay based games.
Inheritance: GameModeDescriptorBase
Exemple #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 StateOfDecayGameModeDescriptor(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 StateOfDecayGameModeDescriptor(EnvironmentInfo);
     return m_gmdGameModeInfo;
 }