Skip to content

Separate particles from entities #281

Description

@ExE-Boss

Right now the fact that particles are only client-side entities causes issues and is confusing.
By creating Particle, ParticleFactory, ParticleManager and ParticleSource classes we would fix that.

  • ParticleFactory would be the factory for Particle implementations.
  • Particle would be the actual implementation.
  • ParticleSource would be a component you add to your ComponentProviders to spawn particles when desired. (would extend Updater)
    It would keep a reference to particle factories, the delay timers for each factory and where to spawn the particles created by those factories.
  • ParticleManager would be the manager for registering particles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions