@Override
    public void run() {
        File f;
        ImageIndex [] ind = ImageIndex.values();
        for (ImageIndex i : ind) {
            setLoadStatus((i.ordinal() + 1.0) / ind.length);
            f = new File(path + i.toString() + extension);
            Image temp2 =
                    new Image(f.toURI().toString());
            spritesFX.put(i, temp2);
            if (Settings.debug > 0)
                System.out.println(
                        "Loaded Image: " + i.toString() + extension);
            try {
                Thread.sleep(1);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
        setLoadStatus(1);

    }