Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void setUp(int[] charTypes) {
- //Coloring Eskimos
- for(int i = 0; i/2 < numberOfPlayers; i += 2) {
- setup.get(i+6).setColor(1f, 0.6f, 0.6f, 1f); //Skin color
- setup.get(i+7).setColor(0.65f, 0.15f, 0.15f, 1f); //Brown
- }
- //Coloring Explorers
- for(int i = 0; i/2 < numberOfPlayers; i += 2) {
- setup.get(i+12).setColor(1f, 0.8f, 0.8f, 1f); //Lighter skin color
- setup.get(i+13).setColor(1f, 0f ,0f, 1f); //Red
- }
- }
- //Checking for choice of characters
- if(contains(wcoord, setup.get(7), 6) && mousePressed) {
- charTypes[0] = 1; //???
- mouse = null; }
- else if(contains(wcoord, setup.get(13), 6) && mousePressed) {
- charTypes[0] = 2; //???
- mouse = null; }
- setUp(charTypes);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement