コード例 #1
0
		public static GamePlayManager GetInstance (Game game)
		{
			if (instance == null)
				instance = new GamePlayManager (game);
				
			return instance;
		}
コード例 #2
0
        private void ConfigureScreenManagers()
        {
            GameFlowScreenManager = GameFlowManager.GetInstance (this);
            Components.Add (GameFlowScreenManager);

            GamePlayScreenManager = GamePlayManager.GetInstance (this);
            Components.Add (GamePlayScreenManager);
        }