package Game;

import java.util.ArrayList;

/**
 * Created by HP user on 12-10-2015.
 */
public class Team {
    private ArrayList<Player> players;

    private int time = 9;
    private int lives;
    private int correctInstruction;

    public Team(){
        players = new ArrayList<Player>();
    }

    public void addTime(){

    }

    public void addLives(){

    }
    public void subtractLives(){

    }
    public void subtractTime(){

    }
    public void addPlayer(){

    }
    public void removePlayer(){

    }
    public void addCorrectInstruction(){

    }
    public void reset(){

    }
    public void getPlayerPanels(){
        
    }
}

@@ -140,16 +140,59 @@
 players;
+%0A    private ArrayList%3CPanel%3E playerPanels;
 %0A%0A    pr
@@ -606,93 +606,304 @@
 ion(
-)%7B%0A%0A    %7D%0A    public void reset()%7B%0A%0A    %7D%0A    public void getPlayerPanels()%7B%0A        
+Instruction doneInstruction)%7B%0A        for (Player p : players)%7B%0A            %0A        %7D%0A    %7D%0A    public void reset()%7B%0A%0A    %7D%0A    public void getPlayerPanels()%7B%0A        for (Player p : players)%7B%0A            for (Panel pan : p.panels)%7B%0A                playerPanels.add(pan);%0A            %7D%0A        %7D
 %0A   

update team