public override bool Equals(object obj) { ChosenWayToPlayModel item = obj as ChosenWayToPlayModel; if (item == null) { return(false); } return(chosenDomino.Equals(item.chosenDomino) && chosenPlace.Equals(item.chosenPlace)); }
public PlayActionModel(GameStatusModel gameStatusModel, ChosenWayToPlayModel chosenWayToPlay) { this.gameStatusModel = gameStatusModel; this.chosenWayToPlay = chosenWayToPlay; }