I am developing a tile based game to help improve my skills, there will be an entity spawning and following the player, to get around the various obstacles around the map i think that the best way would be for the entity to simply shadow the players movements.
What is the best way to store the players action e.g. jump, move left/right etc.
Would there be an alternative better way for the entity to hunt down the player?