Ludo-Client/src/model/ConjuntoDePinos.java
public void LoadGameConjuntoDePinos(ArrayList<Integer> ListOfAllLoadInfo){

		this.RedPino[0].setNumero(ListOfAllLoadInfo.get(0));
		this.RedPino[0].setColor(Color.red);
		this.RedPino[0].setCasa(ListOfAllLoadInfo.get(1));
		this.RedPino[1].setNumero(ListOfAllLoadInfo.get(2));
		this.RedPino[1].setColor(Color.red);
		this.RedPino[1].setCasa(ListOfAllLoadInfo.get(3));
		this.RedPino[2].setNumero(ListOfAllLoadInfo.get(4));
		this.RedPino[2].setColor(Color.red);
		this.RedPino[2].setCasa(ListOfAllLoadInfo.get(5));
		this.RedPino[3].setNumero(ListOfAllLoadInfo.get(6));
		this.RedPino[3].setColor(Color.red);
		this.RedPino[3].setCasa(ListOfAllLoadInfo.get(7));

		this.BluePino[0].setNumero(ListOfAllLoadInfo.get(8));
		this.BluePino[0].setColor(Color.blue);
		this.BluePino[0].setCasa(ListOfAllLoadInfo.get(9));
		this.BluePino[1].setNumero(ListOfAllLoadInfo.get(10));
		this.BluePino[1].setColor(Color.blue);
		this.BluePino[1].setCasa(ListOfAllLoadInfo.get(11));
		this.BluePino[2].setNumero(ListOfAllLoadInfo.get(12));
		this.BluePino[2].setColor(Color.blue);
		this.BluePino[2].setCasa(ListOfAllLoadInfo.get(13));
		this.BluePino[3].setNumero(ListOfAllLoadInfo.get(14));
		this.BluePino[3].setColor(Color.blue);
		this.BluePino[3].setCasa(ListOfAllLoadInfo.get(15));

		this.YellowPino[0].setNumero(ListOfAllLoadInfo.get(16));
		this.YellowPino[0].setColor(Color.yellow);
		this.YellowPino[0].setCasa(ListOfAllLoadInfo.get(17));
		this.YellowPino[1].setNumero(ListOfAllLoadInfo.get(18));
		this.YellowPino[1].setColor(Color.yellow);
		this.YellowPino[1].setCasa(ListOfAllLoadInfo.get(19));
		this.YellowPino[2].setNumero(ListOfAllLoadInfo.get(20));
		this.YellowPino[2].setColor(Color.yellow);
		this.YellowPino[2].setCasa(ListOfAllLoadInfo.get(21));
		this.YellowPino[3].setNumero(ListOfAllLoadInfo.get(22));
		this.YellowPino[3].setColor(Color.yellow);
		this.YellowPino[3].setCasa(ListOfAllLoadInfo.get(23));

		this.GreenPino[0].setNumero(ListOfAllLoadInfo.get(24));
		this.GreenPino[0].setColor(Color.green);
		this.GreenPino[0].setCasa(ListOfAllLoadInfo.get(25));
		this.GreenPino[1].setNumero(ListOfAllLoadInfo.get(26));
		this.GreenPino[1].setColor(Color.green);
		this.GreenPino[1].setCasa(ListOfAllLoadInfo.get(27));
		this.GreenPino[2].setNumero(ListOfAllLoadInfo.get(28));
		this.GreenPino[2].setColor(Color.green);
		this.GreenPino[2].setCasa(ListOfAllLoadInfo.get(29));
		this.GreenPino[3].setNumero(ListOfAllLoadInfo.get(30));
		this.GreenPino[3].setColor(Color.green);
		this.GreenPino[3].setCasa(ListOfAllLoadInfo.get(31));
	}
//Receber uma String com toda as informacoes
Receber uma String com toda as informacoes
Receber uma String com toda as informacoes
public void LoadGameConjuntoDePinos(ArrayList<Integer> ListOfAllLoadInfo){
		this.RedPino[0].setNumero(ListOfAllLoadInfo.get(0));
		this.RedPino[0].setColor(Color.red);
		this.RedPino[0].setCasa(ListOfAllLoadInfo.get(1));
		this.RedPino[1].setNumero(ListOfAllLoadInfo.get(2));
		this.RedPino[1].setColor(Color.red);
		this.RedPino[1].setCasa(ListOfAllLoadInfo.get(3));
		this.RedPino[2].setNumero(ListOfAllLoadInfo.get(4));
		this.RedPino[2].setColor(Color.red);
		this.RedPino[2].setCasa(ListOfAllLoadInfo.get(5));
		this.RedPino[3].setNumero(ListOfAllLoadInfo.get(6));
		this.RedPino[3].setColor(Color.red);
		this.RedPino[3].setCasa(ListOfAllLoadInfo.get(7));
		this.BluePino[0].setNumero(ListOfAllLoadInfo.get(8));
		this.BluePino[0].setColor(Color.blue);
		this.BluePino[0].setCasa(ListOfAllLoadInfo.get(9));
		this.BluePino[1].setNumero(ListOfAllLoadInfo.get(10));
		this.BluePino[1].setColor(Color.blue);
		this.BluePino[1].setCasa(ListOfAllLoadInfo.get(11));
		this.BluePino[2].setNumero(ListOfAllLoadInfo.get(12));
		this.BluePino[2].setColor(Color.blue);
		this.BluePino[2].setCasa(ListOfAllLoadInfo.get(13));
		this.BluePino[3].setNumero(ListOfAllLoadInfo.get(14));
		this.BluePino[3].setColor(Color.blue);
		this.BluePino[3].setCasa(ListOfAllLoadInfo.get(15));
		this.YellowPino[0].setNumero(ListOfAllLoadInfo.get(16));
		this.YellowPino[0].setColor(Color.yellow);
		this.YellowPino[0].setCasa(ListOfAllLoadInfo.get(17));
		this.YellowPino[1].setNumero(ListOfAllLoadInfo.get(18));
		this.YellowPino[1].setColor(Color.yellow);
		this.YellowPino[1].setCasa(ListOfAllLoadInfo.get(19));
		this.YellowPino[2].setNumero(ListOfAllLoadInfo.get(20));
		this.YellowPino[2].setColor(Color.yellow);
		this.YellowPino[2].setCasa(ListOfAllLoadInfo.get(21));
		this.YellowPino[3].setNumero(ListOfAllLoadInfo.get(22));
		this.YellowPino[3].setColor(Color.yellow);
		this.YellowPino[3].setCasa(ListOfAllLoadInfo.get(23));
		this.GreenPino[0].setNumero(ListOfAllLoadInfo.get(24));
		this.GreenPino[0].setColor(Color.green);
		this.GreenPino[0].setCasa(ListOfAllLoadInfo.get(25));
		this.GreenPino[1].setNumero(ListOfAllLoadInfo.get(26));
		this.GreenPino[1].setColor(Color.green);
		this.GreenPino[1].setCasa(ListOfAllLoadInfo.get(27));
		this.GreenPino[2].setNumero(ListOfAllLoadInfo.get(28));
		this.GreenPino[2].setColor(Color.green);
		this.GreenPino[2].setCasa(ListOfAllLoadInfo.get(29));
		this.GreenPino[3].setNumero(ListOfAllLoadInfo.get(30));
		this.GreenPino[3].setColor(Color.green);
		this.GreenPino[3].setCasa(ListOfAllLoadInfo.get(31));
	}
public void LoadGameConjuntoDePinos ( ArrayList < Integer > ListOfAllLoadInfo ) { this . RedPino [ 0 ] . setNumero ( ListOfAllLoadInfo . get ( 0 ) ) ; this . RedPino [ 0 ] . setColor ( Color . red ) ; this . RedPino [ 0 ] . setCasa ( ListOfAllLoadInfo . get ( 1 ) ) ; this . RedPino [ 1 ] . setNumero ( ListOfAllLoadInfo . get ( 2 ) ) ; this . RedPino [ 1 ] . setColor ( Color . red ) ; this . RedPino [ 1 ] . setCasa ( ListOfAllLoadInfo . get ( 3 ) ) ; this . RedPino [ 2 ] . setNumero ( ListOfAllLoadInfo . get ( 4 ) ) ; this . RedPino [ 2 ] . setColor ( Color . red ) ; this . RedPino [ 2 ] . setCasa ( ListOfAllLoadInfo . get ( 5 ) ) ; this . RedPino [ 3 ] . setNumero ( ListOfAllLoadInfo . get ( 6 ) ) ; this . RedPino [ 3 ] . setColor ( Color . red ) ; this . RedPino [ 3 ] . setCasa ( ListOfAllLoadInfo . get ( 7 ) ) ; this . BluePino [ 0 ] . setNumero ( ListOfAllLoadInfo . get ( 8 ) ) ; this . BluePino [ 0 ] . setColor ( Color . blue ) ; this . BluePino [ 0 ] . setCasa ( ListOfAllLoadInfo . get ( 9 ) ) ; this . BluePino [ 1 ] . setNumero ( ListOfAllLoadInfo . get ( 10 ) ) ; this . BluePino [ 1 ] . setColor ( Color . blue ) ; this . BluePino [ 1 ] . setCasa ( ListOfAllLoadInfo . get ( 11 ) ) ; this . BluePino [ 2 ] . setNumero ( ListOfAllLoadInfo . get ( 12 ) ) ; this . BluePino [ 2 ] . setColor ( Color . blue ) ; this . BluePino [ 2 ] . setCasa ( ListOfAllLoadInfo . get ( 13 ) ) ; this . BluePino [ 3 ] . setNumero ( ListOfAllLoadInfo . get ( 14 ) ) ; this . BluePino [ 3 ] . setColor ( Color . blue ) ; this . BluePino [ 3 ] . setCasa ( ListOfAllLoadInfo . get ( 15 ) ) ; this . YellowPino [ 0 ] . setNumero ( ListOfAllLoadInfo . get ( 16 ) ) ; this . YellowPino [ 0 ] . setColor ( Color . yellow ) ; this . YellowPino [ 0 ] . setCasa ( ListOfAllLoadInfo . get ( 17 ) ) ; this . YellowPino [ 1 ] . setNumero ( ListOfAllLoadInfo . get ( 18 ) ) ; this . YellowPino [ 1 ] . setColor ( Color . yellow ) ; this . YellowPino [ 1 ] . setCasa ( ListOfAllLoadInfo . get ( 19 ) ) ; this . YellowPino [ 2 ] . setNumero ( ListOfAllLoadInfo . get ( 20 ) ) ; this . YellowPino [ 2 ] . setColor ( Color . yellow ) ; this . YellowPino [ 2 ] . setCasa ( ListOfAllLoadInfo . get ( 21 ) ) ; this . YellowPino [ 3 ] . setNumero ( ListOfAllLoadInfo . get ( 22 ) ) ; this . YellowPino [ 3 ] . setColor ( Color . yellow ) ; this . YellowPino [ 3 ] . setCasa ( ListOfAllLoadInfo . get ( 23 ) ) ; this . GreenPino [ 0 ] . setNumero ( ListOfAllLoadInfo . get ( 24 ) ) ; this . GreenPino [ 0 ] . setColor ( Color . green ) ; this . GreenPino [ 0 ] . setCasa ( ListOfAllLoadInfo . get ( 25 ) ) ; this . GreenPino [ 1 ] . setNumero ( ListOfAllLoadInfo . get ( 26 ) ) ; this . GreenPino [ 1 ] . setColor ( Color . green ) ; this . GreenPino [ 1 ] . setCasa ( ListOfAllLoadInfo . get ( 27 ) ) ; this . GreenPino [ 2 ] . setNumero ( ListOfAllLoadInfo . get ( 28 ) ) ; this . GreenPino [ 2 ] . setColor ( Color . green ) ; this . GreenPino [ 2 ] . setCasa ( ListOfAllLoadInfo . get ( 29 ) ) ; this . GreenPino [ 3 ] . setNumero ( ListOfAllLoadInfo . get ( 30 ) ) ; this . GreenPino [ 3 ] . setColor ( Color . green ) ; this . GreenPino [ 3 ] . setCasa ( ListOfAllLoadInfo . get ( 31 ) ) ; }
Receber uma String com toda as informacoes
Receber uma String com toda as informacoes