trying to make as classes the character sprite handling