public void Walk(bool w, bool s, bool a, bool d) { if (singleMovementKeyIsPressed) { Vector2 direction = directionCalculator.CalculateDirection(w, s, a, d); Vector2 moveIntention = direction * speed; rigidbody2DWrapper.RegisterMoveIntention(moveIntention, "playerWalk"); } }