Exemplo n.º 1
0
    public void AllDrawCard(EffetCarte.CarteType type)
    {
        switch (type)
        {
        case EffetCarte.CarteType.Chance:
            cartes.DrawnChance();
            break;

        case EffetCarte.CarteType.Communauté:
            cartes.DrawnComu();
            break;
        }
    }
Exemplo n.º 2
0
 public void DrawCard(EffetCarte.CarteType type)
 {
     GetComponent <PhotonView>().RPC("AllDrawCard", PhotonTargets.All, type);
 }