Added GameMode API to the Player class