public WordListBuilder(
     IWordListPathConfigurationProvider wordListPathConfigurationProvider,
     IWordFileReader wordFileReader)
 {
     this.wordListPathConfigurationProvider = wordListPathConfigurationProvider;
     this.wordFileReader = wordFileReader;
 }
        private void Awake( )
        {
            gameStateController = GameStateController.GetSingletonInstance( );
            wordFileReader      = WordFileController.GetSingletonInstance( );
            healthController    = HealthController.GetSingletonInstance( );
            healthController.InitializeHealth( );

            textManager = GameObject.Find("TextAnchor").GetComponent <TextManager> ( );
            textManager.HealthUpdate(healthController.GetHealth( ));

            inputManager = gameObject.GetComponent <InputManager> ( );
            levelManager = gameObject.GetComponent <LevelManager> ( );
        }
Exemple #3
0
 public WordListBuilderTest()
 {
     this.wordListPathConfigurationProvider = A.Fake <IWordListPathConfigurationProvider>();
     this.wordFileReader = A.Fake <IWordFileReader>();
     this.builder        = new WordListBuilder(this.wordListPathConfigurationProvider, this.wordFileReader);
 }