Uppdated animation and player classes

Changed getSprite in animation and player to use shared_ptr instead of
const reference.