set time in player class