private static BufferedImage[][][] createImagesProt()
    {
        BufferedImage[][][] bilder = null;

        BufferedImage[] imgs0 = Bilder.protN;
        BufferedImage[] imgs1 = Bilder.protE;
        BufferedImage[] imgs2 = Bilder.protS;
        BufferedImage[] imgs3 = Bilder.protW;
        BufferedImage[] imgs4 = Bilder.protNW;
        BufferedImage[] imgs5 = Bilder.protNE;
        BufferedImage[] imgs6 = Bilder.protSE;
        BufferedImage[] imgs7 = Bilder.protSW;

        BufferedImage[][] imgses = new BufferedImage[][]{imgs0,imgs1,imgs2,imgs3,imgs4,imgs5,imgs6,imgs7};

        imgs0 = null;
        imgs1 = null;
        imgs2 = null;
        imgs3 = null;
        imgs4 = null;
        imgs5 = null;
        imgs6 = null;
        imgs7 = null;

        int[] dead = {13,14,15,16};
        int[] hurt = {9,10,11,12};
        int[] attacking = {5,6,7,8};
        int[] jumping = {4};
        int[] airborne = {4};
        int[] walking = {2,1,3,1};
        int[] standby = {0};

        int[][] ordning = {dead,hurt,attacking,jumping,airborne,walking,standby};
        int[][][] revisor = new int[8][][];
        for(int i = 0;i < 8;i++)
        {
            revisor[i] = ordning;
        }
        bilder = new BufferedImage[revisor.length][][];
        for(int i = 0;i < 8;i++)
        {
            bilder[i] = new BufferedImage[revisor[0].length][];
            for(int j = 0;j < revisor[0].length;j++)
            {
                bilder[i][j] = new BufferedImage[revisor[0][j].length];
            }
        }

        for(int i = 0;i < revisor.length;i++)
        {
            for(int j = 0;j < revisor[0].length;j++)
            {
                for(int k = 0;k < revisor[0][j].length;k++)
                {
                    bilder[i][j][k] = imgses[i][revisor[0][j][k]];
                }
            }
        }
        return bilder;
    }