Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate particles from entities #281

Open
ExE-Boss opened this issue Mar 1, 2017 · 0 comments
Open

Separate particles from entities #281

ExE-Boss opened this issue Mar 1, 2017 · 0 comments
Labels
Milestone

Comments

@ExE-Boss
Copy link
Member

ExE-Boss commented Mar 1, 2017

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.
@ExE-Boss ExE-Boss mentioned this issue Mar 1, 2017
17 tasks
@ExE-Boss ExE-Boss changed the title Seperate particles from entities Separate particles from entities Oct 23, 2017
@ExE-Boss ExE-Boss added this to the v0.1.0 milestone Jun 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant