/// <summary> /// Gets the player's action in the current state. /// </summary> /// <returns>The <see cref="PlayerAction"/> containing the action of the player in the current state.</returns> public PlayerAction GetAction() { var action = new PlayerAction { Movement = Vector.GetSum(SteeringBehaviorsManager.GetAccelerationVector(), Movement), Kick = KickVector }; return(action); }