Adding animation when player and enemy move