init leafs and ripples particle systems alongside generic

This commit is contained in:
ethan merchant 2024-12-21 09:37:16 -05:00
parent c87a7ab183
commit 22d7a22fd1

View file

@ -5,15 +5,15 @@ namespace slash;
static class VFX
{
public static Particle[] particles = new Particle[64];
static int index = 0;
public static ParticleSystem ps = new(64);
public static ParticleSystem leafs = new(64);
public static ParticleSystem ripples = new(64);
public static void Init()
{
for (int i = 0; i < particles.Length; i++)
{
particles[i] = new();
}
ps.Init();
leafs.Init();
ripples.Init();
}
public static void Play(Vec3 pos)