Added setLocation() for player