public override bool Equals(object obj) { GameStatusModel item = obj as GameStatusModel; if (item == null) { return(false); } return(historySet.Equals(item.historySet) && playerSet.Equals(item.playerSet) && leftDomino.Equals(item.leftDomino) && rightDomino.Equals(item.rightDomino) && upperDomino.Equals(item.upperDomino) && lowerDomino.Equals(item.lowerDomino)); }
public PlayActionModel(GameStatusModel gameStatusModel, ChosenWayToPlayModel chosenWayToPlay) { this.gameStatusModel = gameStatusModel; this.chosenWayToPlay = chosenWayToPlay; }