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