public static void CreateInstance()
 {
     if (Instance != null)
     {
         Instance = new CoreStateManager();
     }
 }
Exemple #2
0
        private void CreateAllInstance()
        {
            ResourceManager.CreateInstance();
            TimerManager.CreateInstance();
            CoreStateManager.CreateInstance();

            timerManager     = TimerManager.Instance;
            coreStateManager = CoreStateManager.Instance;
        }