Player class and input

Hi! I’m trying to learn something new about player movement and physics. I made classes like these :

player class :
InputManager class :

The problem is when I go into GameplayScreen, it shows problem like this: 1 screen

I tried to remove GPS->getPlayer()->getMove() from inputManager and it shows same problem with moveSpeed. It looks like that: 2 screen