updates to player class and sprite handler