public void initialize() throws SlickException {
		
		arrow = new Image("res/arrow.png");
		for(int i = 1; i < 10; i++) {
			 {
				rogueMoveImages[i-1] = new Image("res/roguewalkframe" + i + ".png");
				rogueMoveImages[i-1] = rogueMoveImages[i-1].getScaledCopy((float) .5);
				rogueMoveImagesFlipped[i-1] = rogueMoveImages[i-1].getFlippedCopy(true, false);
			} 
		}
		for(int i = 1; i < 9; i++) {
			 {
				rogueFighting[i-1] = new Image("res/roguefightframe" + i + ".png");
				rogueFighting[i-1] = rogueFighting[i-1].getScaledCopy((float) .5);
				rogueFightingFlipped[i-1] = rogueFighting[i-1].getFlippedCopy(true, false);
			} 
		}
		for(int i = 1; i < 4; i++) {
			 {
				rogueCrawling[i-1] = new Image("res/rogueCrawl" + i + ".png");
				rogueCrawling[i-1] = rogueCrawling[i-1].getScaledCopy((float) .5);
				rogueCrawlingFlipped[i-1] = rogueCrawling[i-1].getFlippedCopy(true, false);
			} 
		}
		
		//putting the fighter move textures in the texture array
		for(int i = 1; i < 4; i++) {
			 {
				fighterFighting[i-1] = new Image("res/fightfightframe" + i + ".png");
				fighterFighting[i-1] = fighterFighting[i-1].getScaledCopy((float) .5);
				fighterFightingFlipped[i-1] = fighterFighting[i-1].getFlippedCopy(true, false);
			} 
		}
		for(int i = 1; i < 10; i++) {
			 {
				fighterMoveImages[i-1] = new Image("res/fightwalkframe" + i + ".png");
				fighterMoveImages[i-1] = fighterMoveImages[i-1].getScaledCopy((float) .5);
				fighterMoveImagesFlipped[i-1] = fighterMoveImages[i-1].getFlippedCopy(true, false);
			} 
		}
		for(int i = 1; i < 4; i++) {
			 {
				fighterCrawling[i-1] = new Image("res/fightcrawl" + i + ".png");
				fighterCrawling[i-1] = fighterCrawling[i-1].getScaledCopy((float) .5);
				fighterCrawlingFlipped[i-1] = fighterCrawling[i-1].getFlippedCopy(true, false);
			} 
		}
		
		//and finally, putting the mage textures in its texture array
		for(int i = 1; i < 10; i++) {
			 {
				mageFightImages[i-1] = new Image("res/magefight" + i + ".png");
				mageFightImages[i-1] = mageFightImages[i-1].getScaledCopy((float) .5);
				mageFightImagesFlipped[i-1] = mageFightImages[i-1].getFlippedCopy(true, false);
			} 
		}
		for(int i = 1; i < 10; i++) {
			 {
				mageMoveImages[i-1] = new Image("res/magewalkframe" + i + ".png");
				mageMoveImages[i-1] = mageMoveImages[i-1].getScaledCopy((float) .5);
				mageMoveImagesFlipped[i-1] = mageMoveImages[i-1].getFlippedCopy(true, false);
			} }
		for(int i = 1; i < 4; i++) {
			{
				mageCrawling[i-1] = new Image("res/magecrawl" + i + ".png");
				mageCrawling[i-1] = mageCrawling[i-1].getScaledCopy((float) .5);
				mageCrawlingFlipped[i-1] = mageCrawling[i-1].getFlippedCopy(true, false);
			} 
		}
		//get the specified texture from the arrays.
		fighterMove = new Animation(fighterMoveImages, 100);
		fighterMoveFlipped = new Animation(fighterMoveImagesFlipped, 100);
		fighterMove = new Animation(fighterMoveImages, 100);
		  fighterMoveFlipped = new Animation(fighterMoveImagesFlipped, 100);
		  fighterFight = new Animation(fighterFighting, 100);
		  fighterFightFlipped = new Animation(fighterFightingFlipped, 100);
		  fighterCrawl = new Animation(fighterCrawling, 100);
		  fighterCrawlFlipped = new Animation(fighterCrawlingFlipped, 100);
		
		  mageMove = new Animation(mageMoveImages, 100);
		  mageMoveFlipped = new Animation(mageMoveImagesFlipped, 100);
		  mageFight = new Animation(mageFightImages, 100);
		  mageFightFlipped = new Animation(mageFightImagesFlipped, 100);
		  mageCrawl = new Animation(mageCrawling, 100);
		  mageCrawlFlipped = new Animation(mageCrawlingFlipped, 100);
		
		  rogueMove = new Animation(rogueMoveImages, 100);
		  rogueMoveFlipped = new Animation(rogueMoveImagesFlipped, 100);
		  rogueFight = new Animation(rogueFighting, 100);
		  rogueFightFlipped = new Animation(rogueFightingFlipped, 100);
		  rogueCrawl = new Animation(rogueCrawling, 100);
		  rogueCrawlFlipped = new Animation(rogueCrawlingFlipped, 100);
		  
	}