java.lang.Object
technology.sola.ecs.EcsSystem
technology.sola.engine.physics.system.ParticleSystem
@NullMarked
public class ParticleSystem
extends technology.sola.ecs.EcsSystem
ParticleSystem is an
EcsSystem
that handles updating Entity
with a
TransformComponent
and ParticleEmitterComponent
. It will update each particle that is alive, destroy
any particle that is no longer alive, and emit new particles as it is able to.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class technology.sola.ecs.EcsSystem
getOrder, isActive, setActive
-
Constructor Details
-
ParticleSystem
public ParticleSystem()
-
-
Method Details
-
update
public void update(technology.sola.ecs.World world, float delta) - Specified by:
update
in classtechnology.sola.ecs.EcsSystem
-