Exemplo n.º 1
0
 void Do()
 {
     Seat.Do(Optionor);
 }
Exemplo n.º 2
0
 internal OptionorRequest(Seat seat, Optionor optionor)
 {
     Seat     = seat;
     Optionor = optionor;
 }
Exemplo n.º 3
0
        /// <summary>
        /// 处理座位抛出令牌事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Seat_EjectionedToken(object sender, EventArgs e)
        {
            Seat seat = (Seat)sender;

            TakonManager.RecieveTokenFrom(seat);
        }
Exemplo n.º 4
0
        /// <summary>
        /// 找到玩家座位
        /// </summary>
        /// <param name="playerId"></param>
        /// <returns></returns>
        private Seat GetSeatByPlayerId(int playerId)
        {
            Seat seat = (Seat)InningeGame.GetSeatByPlayerId(playerId);

            return(seat);
        }
Exemplo n.º 5
0
        /// <summary>
        /// 玩家准备
        /// </summary>
        /// <param name="playerId"></param>
        public void Ready(int playerId)
        {
            Seat seat = GetSeatByPlayerId(playerId);

            SeatsManager.Add(seat);
        }
Exemplo n.º 6
0
        private void GetCardAction_Handler(Seat seat)
        {
            seat.HandCards.FreshOptionors(Ruls.FreshOptions);

            // GetingCard(seat.IPlayer.Id);
        }