private bool InitSubSystem(GameConfigXml gameOptions) { appStateMgr = new AppStateManager(); locateMgr = LocateSystem.Instance; modMgr = new ModManager(); outputMgr = new OutputManager(); soundMgr = new MusicSoundManager(); uiMgr = new ScreenManager(); MusicSoundManager.Instance.InitSystem( gameOptions.AudioConfig.EnableMusic, gameOptions.AudioConfig.EnableSound ); return(true); }
public GameManager() { root = null; renderWindow = null; viewport = null; log = null; timer = null; inputMgr = null; keyboard = null; mouse = null; appStateMgr = null; soundMgr = null; VideoMode = new NameValuePairList(); isEditMode = false; isCheatMode = false; loadingData = new LoadingData(LoadingType.NONE, null, null, null); GlobalValueTable = new Dictionary <string, object>(); }