diff --git a/Q01-Cálculos/IRigidBody.cs b/Q01-Cálculos/IRigidBody.cs new file mode 100644 index 0000000..5d73846 --- /dev/null +++ b/Q01-Cálculos/IRigidBody.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Text; +using System.Threading.Tasks; + +namespace Q01_Cálculos +{ + /// + /// Definimos una interfaz para normalizar clases que representan un cuerpo rígido con masa + /// + public interface IRigidBody + { + public string Name { get; } + public float Mass { get; } + public Vector3 CenterOfMass { get; } + public Vector3 Weight{ get; } + + public int GetChildItemCount(bool Recursive); + string Summary(int pad = 0); + } +}