Exemplo n.º 1
0
 public static SinglePlayerViewModel Instance(SinglePlayerModel model)
 {
     instanceMutex.WaitOne();
     if (instance == null)
     {
         instance = new SinglePlayerViewModel(model);
     }
     instanceMutex.ReleaseMutex();
     return(instance);
 }
Exemplo n.º 2
0
 private SinglePlayerViewModel(SinglePlayerModel model)
 {
     this.model = model;
 }