player object prototype