From 2363f886b66ea74b43f3169170832b4649654112 Mon Sep 17 00:00:00 2001 From: Flowaria Date: Sat, 6 Dec 2025 11:13:29 +0900 Subject: [PATCH] Mark Particle as abstract still --- Particles/Particle.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Particles/Particle.cs b/Particles/Particle.cs index 7df200dfc2..2a901575ca 100644 --- a/Particles/Particle.cs +++ b/Particles/Particle.cs @@ -5,7 +5,7 @@ using ReLogic.Content; namespace CalamityMod.Particles { - public class Particle + public abstract class Particle { /// /// The ID of the particle type as registered by when the mod loads. @@ -70,6 +70,14 @@ namespace CalamityMod.Particles /// public float LifetimeCompletion => Lifetime != 0 ? Time / (float)Lifetime : 0; + /// + /// The path to this particle's autoloaded texture. + /// + /// + /// Can be accessed via . + /// + public virtual string Texture => ""; + /// /// for how should be autoloaded.
/// Defaults to