public static SinglePlayerViewModel Instance(SinglePlayerModel model) { instanceMutex.WaitOne(); if (instance == null) { instance = new SinglePlayerViewModel(model); } instanceMutex.ReleaseMutex(); return(instance); }
private SinglePlayerViewModel(SinglePlayerModel model) { this.model = model; }