public void LoadTextures(String location){
		File folder = new File(location);
		if(!folder.exists()){ Util.ERRORCODE1();}
		else {
		File[] files = folder.listFiles();
		for(int i = 0; i < files.length; i++){ 
		try {
		if(files[i].getAbsolutePath().endsWith(".png")){
		BufferedImage image;
		String name = files[i].getName().substring(files[i].getAbsolutePath().lastIndexOf("/")+1, files[i].getName().length() - 4);
		File loc = new File(location + "\\" + name + ".png");
		image = ImageIO.read(loc);
		textures.add(new T(image,name));
		} else if (files[i].isDirectory()){
			LoadTextures(files[i].getAbsolutePath());
		}
		} catch (IOException e) {
		e.printStackTrace();
		}
		}
		}
		
	}