Sounds like you want to pass an object of the player class as an argument.