player to class