com.quartercode.quarterbukkit.api.particle
Class DefaultParticleSpawner

java.lang.Object
  extended by com.quartercode.quarterbukkit.api.particle.DefaultParticleSpawner
All Implemented Interfaces:
ParticleSpawner

public class DefaultParticleSpawner
extends java.lang.Object
implements ParticleSpawner

This is a default ParticleSpawner which executes the particle effects using fireworks. The method spawns a new Firework, let it explode directly after that using reflection and then removes the Entity.


Constructor Summary
DefaultParticleSpawner()
           
 
Method Summary
 void spawn(org.bukkit.plugin.Plugin plugin, java.util.List<ParticleDescription> descriptions, org.bukkit.Location location)
          Spawns/Renders the particles of a particle run.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultParticleSpawner

public DefaultParticleSpawner()
Method Detail

spawn

public void spawn(org.bukkit.plugin.Plugin plugin,
                  java.util.List<ParticleDescription> descriptions,
                  org.bukkit.Location location)
Description copied from interface: ParticleSpawner
Spawns/Renders the particles of a particle run.

Specified by:
spawn in interface ParticleSpawner
Parameters:
plugin - The Plugin for exception-handling etc.
descriptions - The ParticleDescriptions for the particle effect.
location - The spawn Location for the particles.