コード例 #1
0
        public GameBuilder set_game_state_to(TableStatus table_status)
        {
            _blackjacktablerow.can_accept_bet = table_status.can_accept_bet;
            _blackjacktablerow.can_deal = table_status.can_deal;
            _blackjacktablerow.state_id = table_status.id;
            _blackjacktablerow.state_name = table_status.name;

            return this;
        }
コード例 #2
0
 public bool Equals(TableStatus other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return other.id == id;
 }