move player methods to prototype