malmat
public text v1 · immutableif(e.getSource() == antKort[i]) {
antKort[i].setStatus(Kort.Status.SYNLIGT);
plockade[antal] = antKort[i];
antal++;
if(antal==2) {
tajmer.start();
if(e.getSource() == tajmer) {
antKort[i].setStatus(Kort.Status.DOLT);
plockade[1].setStatus(Kort.Status.DOLT);
}
antal=0;
}
}