public String getRegisteredSpriteKey(int value)
    {
        //This method should not be used.
        //System.out.println("This method is deprecated, should not be used (other than debug).");
        if(sprite_mapping.containsValue(value))
        {
            Set<Map.Entry<String, Integer>> entries = sprite_mapping.entrySet();
            for(Map.Entry<String, Integer> entry : entries)
            {
                if(entry.getValue() == value)
                    return entry.getKey();
            }
        }
        return null;
    }