Moved player update code to Level class.