changed Player to support inheritance
Revert "changed Player to support inheritance"

This reverts commit ba88a30263bfc3d0058481891c5231da050d972e.
changed Player to support inheritance