Player::accelerateHorizontal/Vertical should be member of LocalPlayer