Files
CalamityModPublic/CalPlayer/DrawLayers/IHideFrontArm.cs
T
2022-07-11 19:05:37 -04:00

16 lines
416 B
C#

using Microsoft.Xna.Framework;
using Terraria.DataStructures;
using Terraria;
/// <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;
}