Mark Particle as abstract still

This commit is contained in:
Flowaria committed 2025-12-06 11:13:29 +09:00
1 parent f79725305f
commit 2363f886b6
1 file changed
+9 -1
+9 -1
View File
@@ -5,7 +5,7 @@ using ReLogic.Content;
namespace CalamityMod.Particles
{
public class Particle
public abstract class Particle
{
/// <summary>
/// The ID of the particle type as registered by <see cref="GeneralParticleHandler"/> when the mod loads.
@@ -70,6 +70,14 @@ namespace CalamityMod.Particles
/// </summary>
public float LifetimeCompletion => Lifetime != 0 ? Time / (float)Lifetime : 0;
/// <summary>
/// The path to this particle's autoloaded texture.
/// </summary>
/// <remarks>
/// Can be accessed via <see cref="GeneralParticleHandler.GetTexture(int)"/>.
/// </remarks>
public virtual string Texture => "";
/// <summary>
/// <see cref="AssetRequestMode"/> for how <see cref="Texture"/> should be autoloaded.<br/>
/// Defaults to <see cref="AssetRequestMode.AsyncLoad"/>