Update player.cpp

- New gets and sets methods implemented.
- Some functions in player.h transferred to player.cpp