public static void spriteSheetToSubimages(SpriteSheet ss, SpriteSheetName name, Image[] spriteSheetTextureArray, Player player){
        switch(name){
            case block:
                for(int i=0;i<spriteSheetTextureArray.length;i++)
                    spriteSheetTextureArray[i] = ss.grabSprite(Utility.STANDARD_BLOCK_SIZE * i, 0, Utility.STANDARD_BLOCK_SIZE, Utility.STANDARD_BLOCK_SIZE);
                    break;
                
            case character:
                for(int i=0;i<spriteSheetTextureArray.length;i++)
                    spriteSheetTextureArray[i] = ss.grabSprite(Utility.STANDARD_BLOCK_SIZE * i, 0, player.imageWidth, player.imageHeight);
                break;
                
            case item:
                for(int i=0;i<spriteSheetTextureArray.length;i++)
                    spriteSheetTextureArray[i] = ss.grabSprite(Utility.STANDARD_BLOCK_SIZE * i, 0, Utility.STANDARD_BLOCK_SIZE, Utility.STANDARD_BLOCK_SIZE);
                break;
        }        
    }