パッケージ simulation
インタフェース ParticleListener
public interface ParticleListener
Observer interface for monitoring elemental particle generation events.
Implementations are registered via
CombatSimulator.addParticleListener(simulation.ParticleListener) and are
notified whenever particles are emitted through
CombatSimulator.notifyParticle(Element, double).
Particles feed into the EnergyManager to fill character energy.-
メソッドの概要
修飾子とタイプメソッド説明voidonParticle(Element element, double count, double time) Invoked when elemental particles are generated during the simulation.
-
メソッドの詳細
-
onParticle
Invoked when elemental particles are generated during the simulation.- パラメータ:
element- the element of the generated particles (determines off-field ER efficiency)count- the number of particles generatedtime- the simulation time (in seconds) at which the particles were generated
-