Moved moving to player class