示例#1
0
        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));
        }
示例#2
0
 public PlayActionModel(GameStatusModel gameStatusModel, ChosenWayToPlayModel chosenWayToPlay)
 {
     this.gameStatusModel = gameStatusModel;
     this.chosenWayToPlay = chosenWayToPlay;
 }