예제 #1
0
        /// <summary>
        /// Get random phrase from phrasesContainer.
        /// Place it in the HangManGameWindow.
        /// Set the first image from statusImageManager.
        /// </summary>
        public void Init()
        {
            PhrasesContainer phrasesContainer = PhrasesContainer.Instance();

            phrase = phrasesContainer.RandomPhrase;
            PlacePhrase(phrase);
            statusImageManager.SetNextImage(StatusImage);
        }