Created
April 15, 2016 07:22
-
-
Save TimDorand/dd219d68a1ef7f9d5ef98e4929bca8d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void initCartes(){ | |
listeCartes = new Carte[nbCartes]; | |
for (int i=0 ; i<nbCartes ; i++){ | |
listeCartes[i] = new Carte("../Photos/carte"+i%(nbCartes>>1)+".png","../Photos/dos.png",i%(nbCartes>>1)); | |
listeCartes[i].tournerVersDos(); | |
} | |
melangeLesCartes(); | |
afficherLesCartesAvecEvt(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment