Salve a tutti, ho il seguente problema nella compilazione... Ho una classe Mazzo compilata perfettamente, ma non riesco a compilare la seguente mainclass:
codice:
public class Server
{
public static void main(String args[]){
final int NUM_Giocatori = 5;
final int NUM_Carte_per_Colore = 13;
final int NUM_Colori = 4;
Mazzo mazzo = new Mazzo(NUM_Carte_per_Colore,NUM_Colori);
mazzo.mescolaMazzo();
Giocatore[] arrayGiocatori = new Giocatore[NUM_Giocatori];
for (int id = 0; id < NUM_Giocatori; id++)
{ arrayGiocatori[id] = new Giocatore(id, mazzo);
arrayGiocatori[id].start();
}
}
}
Netbeans dice:
Server.java [20:1] cannot resolve symbol
symbol : class Mazzo
location: class berretti2.Server
Mazzo mazzo = new Mazzo(NUM_Carte_per_Colore,NUM_Colori);
^
Server.java [20:1] cannot resolve symbol
symbol : class Mazzo
location: class berretti2.Server
Mazzo mazzo = new Mazzo(NUM_Carte_per_Colore,NUM_Colori);
^
2 errors
Errors compiling Server.
Help meeeeeeeeee
, mi servirebbe una mano entro Domenica!!!!!!!!!!