Learning a Representation of a Believable Virtual Character's Environment with an Imitation Algorithm