public HangmanGameWindow()
 {
     statusImageManager = StatusImageManager.Instance();
     InitializeComponent();
     Reset();
     Init();
 }
Esempio n. 2
0
 /// <summary>
 /// Singleton constructor method.
 /// </summary>
 /// <returns>Existing instance of StatusImageManager or new instance if no instance already exists.</returns>
 public static StatusImageManager Instance()
 {
     if (instance == null)
     {
         instance = new StatusImageManager();
     }
     return(instance);
 }