Converted "Player" from int to Player class