コード例 #1
0
        public DealersHandBuilder with_status_of(HandStatus hand_status)
        {
            _hand_table_row.state_id = hand_status.id;
            _hand_table_row.state_name = hand_status.name;
            _hand_table_row.turn_ended = hand_status.turn_ended;

            return this;
        }
コード例 #2
0
ファイル: Hand.cs プロジェクト: elbandit/DDD-CQRS-Blackjack
 public bool has_status_of(HandStatus status)
 {
     return this.status.Equals(status);
 }
コード例 #3
0
ファイル: Hand.cs プロジェクト: elbandit/DDD-CQRS-Blackjack
 public void change_state_to(HandStatus hand_status)
 {
     status = hand_status;
 }