Ejemplo n.º 1
0
 /// <summary>
 /// The position that the player's throw would start.
 /// </summary>
 public Vector2 GetThrowingPosition() => ThrowingComponent.GetThrowingPosition();
Ejemplo n.º 2
0
 /// <summary>
 /// Drop the given item.
 /// </summary>
 /// <param name="carriable">The item to drop.</param>
 public void Drop(Carriable carriable) => ThrowingComponent.Drop(carriable);
Ejemplo n.º 3
0
 /// <summary>
 /// The direction the player would throw an item they may be holding.
 /// </summary>
 /// <param name="normalized">Whether or not to normalize the direction
 /// (default: true)</param>
 public Vector2 GetThrowingDirection(bool normalized = true) => ThrowingComponent.GetThrowingDirection(normalized);
Ejemplo n.º 4
0
 /// <summary>
 /// Throw the given item
 /// </summary>
 /// <param name="carriable">The item to throw.</param>
 public void Throw(Carriable carriable) => ThrowingComponent.Throw(carriable);