예제 #1
0
 public void MiniJogo()
 {
     if (GerenciadorPartida.InvAtual.moedas >= 25)
     {
         GerenciadorGeral.TransitarParaMJ(minijogo);
     }
     else
     {
         GPWaitRodada();
     }
 }
예제 #2
0
        public void BtIniciarPartida()
        {
            if (GerenciadorGeral.modoOnline && PhotonNetwork.IsMasterClient)
            {
                var room = PhotonNetwork.CurrentRoom;
                if (room == null)
                {
                    return;
                }

                GerenciadorGeral.qtdJogadores = room.PlayerCount;
                GerenciadorGeral.SyncClientesQtdJogadores();
            }


            GerenciadorGeral.TransitarParaMJ(CenaID.Tabuleiro);
        }
예제 #3
0
 public void IniciarMJ()
 {
     GerenciadorGeral.TransitarParaMJ(cenaMJ);
 }
예제 #4
0
 void AbrirMJ(CenaID cenaId)
 {
     GerenciadorGeral.TransitarParaMJ(cenaId);
 }