src/OldMainWindow.java
private void init() throws IOException {

		//Get texture from files
	  texture = TextureLoader.getTexture("PNG", ResourceLoader.getResourceAsStream("res/earthspace.png"));
//	  box = TextureLoader.getTexture("JPG",ResourceLoader.getResourceAsStream("res/box.jpg"));
	  sun = TextureLoader.getTexture("PNG",ResourceLoader.getResourceAsStream("res/sol.png"));
	  moon = TextureLoader.getTexture("PNG",ResourceLoader.getResourceAsStream("res/lua.png"));
	  head = TextureLoader.getTexture("JPG", ResourceLoader.getResourceAsStream("res/texture-pige.jpg"));
	  clo = TextureLoader.getTexture("JPG", ResourceLoader.getResourceAsStream("res/clo.jpg"));
	  road = TextureLoader.getTexture("PNG",ResourceLoader.getResourceAsStream("res/road.png"));
	  sky = TextureLoader.getTexture("PNG",ResourceLoader.getResourceAsStream("res/sky.png"));
	  bb = TextureLoader.getTexture("PNG",ResourceLoader.getResourceAsStream("res/2018a.png"));
	  System.out.println("Texture loaded okay ");
	}
/*
	 * Any additional textures for your assignment should be written in here.
	 * Make a new texture variable for each one so they can be loaded in at the beginning
	 */
Any additional textures for your assignment should be written in here.
Make a new texture variable for each one so they can be loaded in at the beginning
Any additional textures for your assignment should be written in here . Make a new texture variable for each one so they can be loaded in at the beginning
private void init() throws IOException {
	  texture = TextureLoader.getTexture("PNG", ResourceLoader.getResourceAsStream("res/earthspace.png"));
	  sun = TextureLoader.getTexture("PNG",ResourceLoader.getResourceAsStream("res/sol.png"));
	  moon = TextureLoader.getTexture("PNG",ResourceLoader.getResourceAsStream("res/lua.png"));
	  head = TextureLoader.getTexture("JPG", ResourceLoader.getResourceAsStream("res/texture-pige.jpg"));
	  clo = TextureLoader.getTexture("JPG", ResourceLoader.getResourceAsStream("res/clo.jpg"));
	  road = TextureLoader.getTexture("PNG",ResourceLoader.getResourceAsStream("res/road.png"));
	  sky = TextureLoader.getTexture("PNG",ResourceLoader.getResourceAsStream("res/sky.png"));
	  bb = TextureLoader.getTexture("PNG",ResourceLoader.getResourceAsStream("res/2018a.png"));
	  System.out.println("Texture loaded okay ");
	}
private void init ( ) throws IOException { texture = TextureLoader . getTexture ( "PNG" , ResourceLoader . getResourceAsStream ( "res/earthspace.png" ) ) ; sun = TextureLoader . getTexture ( "PNG" , ResourceLoader . getResourceAsStream ( "res/sol.png" ) ) ; moon = TextureLoader . getTexture ( "PNG" , ResourceLoader . getResourceAsStream ( "res/lua.png" ) ) ; head = TextureLoader . getTexture ( "JPG" , ResourceLoader . getResourceAsStream ( "res/texture-pige.jpg" ) ) ; clo = TextureLoader . getTexture ( "JPG" , ResourceLoader . getResourceAsStream ( "res/clo.jpg" ) ) ; road = TextureLoader . getTexture ( "PNG" , ResourceLoader . getResourceAsStream ( "res/road.png" ) ) ; sky = TextureLoader . getTexture ( "PNG" , ResourceLoader . getResourceAsStream ( "res/sky.png" ) ) ; bb = TextureLoader . getTexture ( "PNG" , ResourceLoader . getResourceAsStream ( "res/2018a.png" ) ) ; System . out . println ( "Texture loaded okay " ) ; }
Any additional textures for your assignment should be written in here.
Any additional textures for your assignment should be written in here .
//Get texture from files //	  box = TextureLoader.getTexture("JPG",ResourceLoader.getResourceAsStream("res/box.jpg"));