private Boolean podeJogar(IDJogadores id)
 {
     if (identificadorJogadores == id)
     {
         return(true);
     }
     return(false);
 }
 public void jogadoresNaMesa(IDJogadores jogador)
 {
     if (podeJogar(jogador))
     {
         jogadoresNaMesa();
     }
     else
     {
         if (next == null)
         {
             throw new Exception("Jogador não foi encontrado");
         }
         next.jogadoresNaMesa(jogador);
     }
 }
 public MesaChain(IDJogadores idJogador)
 {
     next = null;
     identificadorJogadores = idJogador;
 }
Ejemplo n.º 4
0
 public PokerChain(IDJogadores id)
 {
     next = null;
     identificadorDeJogadores = id;
 }