@Override
		public void paintComponent(Graphics g) {
			super.paintComponent(g);
			BufferedImage pokemonSpriteSheet = null;
			try {
				pokemonSpriteSheet = ImageIO.read(new File("Images/CondensedOverworldSprites.png"));
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			int spriteColumns =16;
			int spriteRows = 7;
			int spriteWidth = 20;
			int spriteHeight = 20;
			int offset = 0;
			BufferedImage[] sprites = new BufferedImage[(spriteRows+1)*(spriteColumns+1)];
		  	System.out.println("Rows: "+ spriteRows + " Columns: " + spriteColumns);
		  	for(int i = 0; i<spriteColumns;i++)
		  	{
		  		for(int j = 0; j<spriteRows;j++)
		  		{
		  			sprites[(i*spriteRows)+j] = pokemonSpriteSheet.getSubimage(
			  				j*spriteWidth,
			  				i*spriteHeight+offset,
			  				spriteWidth,
			  				spriteHeight);
		  		}
		  	}
			//g.setColor(Color.green);
			//TowerBuilder b = new TowerBuilder();
			//Tile t = new Tile(0,0,0);
			//Map m = new Level1(new Game());
			//BufferedImage charmander = b.buildTower(TowerID.CHARMANDER, t, m).getImage();
		  	//g.drawImage(sprites[10],60,60,60,60,this);
		  	//prints out sprite sheet individual sprites
		  	 for(int i = 0;i<spriteRows;i++)
		  	{
		  		for(int j = 0;j<spriteColumns;j++)
		  		{
		  			g.drawImage(sprites[(i*spriteRows)+j],i*20,j*20,20,20,this);//i*spriteRows)+j
		  			g.drawString(""+((i*spriteRows)+j),i*20 ,j*20 );
		  		}
		  	}
		  	for(int k =0;k<=spriteRows*spriteColumns;k++)
		  	{
		  		//g.drawImage(sprites[k],k*20,0,20,20,this);
		  	}
			
		}