/// <summary> /// Initializes a new instance of the <see cref="CloseCommand"/> class. /// </summary> /// <param name="multiPlayerDS">The multi player ds.</param> /// <param name="model">The model.</param> public CloseCommand(MultiPlayerDS multiPlayerDS, IModel model) { this.multiPlayerDS = multiPlayerDS; this.model = model; }
/// <summary> /// Initializes a new instance of the <see cref="PlayCommand"/> class. /// </summary> /// <param name="multiPlayerDS">The multi player ds.</param> /// <param name="model">The model.</param> public PlayCommand(MultiPlayerDS multiPlayerDS, IModel model) { this.multiPlayerDS = multiPlayerDS; this.model = model; Name = this.multiPlayerDS.NameOfGame; }