public static Tank getTank(String tS){
		Tank tank = null;
		String[] d = tS.split(",");
		tank = new Tank(
				dI(d[0]),
				d[1],
				dI(d[2]),
				dI(d[3]),
				decodeDir(d[4]),
				decodeBoolean(d[5]),
				dI(d[6]),
				dI(d[7]),
				dI(d[8]),
				dI(d[9]),
				dI(d[10]),
				dI(d[11]),
				decodeBoolean(d[12]),
				dI(d[13]),
				dI(d[14]),
				dI(d[15]),
				dI(d[16]),
				dI(d[17]),
				dI(d[18])
				);
		if( d.length==20 ){
			String[] db = d[d.length-1].split("/");
			for(int i=0;i<db.length;i++){

				String[] bs=db[i].split("[+]");
				
				tank.getBullets().add(new Bullet(
						dI(bs[0]),
						dI(bs[1]),
						dI(bs[2]),
						decodeDir(bs[3]),
						decodeBoolean(bs[4])
						));
			}
		}
		
		return tank;
	}