moved player movement into Player method