public BufferedImage getImageFromName(String resourceName) throws IOException
	{
		if (Game.getInstance() != null)
		{
			return ImageIO.read(Game.getInstance().getClass().getClassLoader().getResourceAsStream(Game.getInstance().getResourceDirectory() + resourceName));
		}
		
		return null;
	}