Files
CalamityModPublic/CalPlayer/DrawLayers/IHideFrontArm.cs
T
tomat 67bceff6e7 Initial dotnet format pass.
This commit formats the entire codebase according to `dotnet format` and its limited understanding of our provided `.editorconfig`.
2024-02-28 21:49:50 -08:00

16 lines
416 B
C#

using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
/// <summary>
/// Interface that can be used by items that need to hide the players front arm when held.
/// Useful for prosthesis type items.
/// </summary>
public interface IHideFrontArm
{
/// <summary>
/// When should the arm be hidden. Defauls to always
/// </summary>
bool ShouldHideArm(Player player) => true;
}