player class extened from animated sprite