Energy Shield now properly draws per player

This commit is contained in:
Flowaria authored and Cameron Ewell committed 2024-09-13 19:46:34 -04:00
1 parent 66a1f5c311
commit cbd1446bde
7 files changed
+283 -265

No files matched your search

+6
View File
@@ -1,4 +1,5 @@
using Microsoft.Xna.Framework.Graphics;
using Terraria;
namespace CalamityMod.DataStructures
{
@@ -14,6 +15,11 @@ namespace CalamityMod.DataStructures
public const float SpongeShieldDepth = 4f;
#endregion
/// <summary>
/// Owner of this Renderer Item
/// </summary>
public Player OwnerPlayer { get; set; }
/// <summary>
/// The draw depth of the renderer. This is used to draw them in descending order; higher values are drawn first.
/// </summary>