private Texture2D GetCharacterTexturePreview(NPCDataControl data, string animation)
        {
            var auxPath = data.getAnimationPathPreview(animation);

            if (!texturePaths.ContainsKey(animation) || texturePaths[animation] != auxPath)
            {
                textures[animation] = string.IsNullOrEmpty(auxPath) ? null : Controller.ResourceManager.getImage(auxPath);
            }
            return(textures[animation]);
        }
        private Texture2D LoadCharacterTexturePreview(NPCDataControl data, string animation)
        {
            var auxPath = data.getAnimationPathPreview(animation);

            return(string.IsNullOrEmpty(auxPath) ? null : Controller.ResourceManager.getImage(auxPath));
        }