changed animation factory to interface. this makes it mre general for sprite use instead of only player.
changed animation factory to interface. this makes it mre general for sprite use instead of only player.