public Texture getSlickTexture(String resourceName) throws FailedTextureException {
    	Texture tex = (Texture) table.get(resourceName);

    	if (tex != null) {
    		return tex;
    	}

    	try {
    		tex = org.newdawn.slick.opengl.TextureLoader.getTexture("PNG", ResourceLoader.getResourceAsStream(resourceName));
    	} catch(IOException e) {
    		System.err.println("Could not load texture " + resourceName);
    	} catch(RuntimeException re) {
    		System.err.println("Could not load texture " + resourceName + ". Loading Error texture.");
    		throw new FailedTextureException();
    	}
    	table.put(resourceName,tex);

    	return tex;
    }