using UnityEngine;
namespace Syntriax.Modules.Movement
{
public static class IMovementControllerExtensions
{
///
/// Calls with a 's values accordingly, leaving the z parameter 0
///
public static void Move(this IMovementController movementController, Vector2 moveVector)
=> movementController.Move(moveVector.x, moveVector.y, 0f);
///
/// Calls with a 's values accordingly
///
public static void Move(this IMovementController movementController, Vector3 moveVector)
=> movementController.Move(moveVector.x, moveVector.y, moveVector.z);
}
}