defined functions in player class

defined up functions