パッケージ simulation
インタフェース CombatSimulator.ReactionListener
- 既知の実装クラスのリスト:
Columbina
- 含まれているクラス:
CombatSimulator
public static interface CombatSimulator.ReactionListener
Observer interface for elemental reaction events.
Implementations are registered via
CombatSimulator.addReactionListener(simulation.CombatSimulator.ReactionListener) and
are called whenever an element application triggers a reaction, including synthetic
Lunar reaction events.-
メソッドの概要
修飾子とタイプメソッド説明voidonReaction(ReactionResult result, Character source, double time, CombatSimulator sim) Invoked when an elemental reaction occurs.
-
メソッドの詳細
-
onReaction
Invoked when an elemental reaction occurs.- パラメータ:
result- theReactionResultdescribing the reaction type and any associated multipliers or damagesource- theCharacterwhose attack triggered the reactiontime- the simulation time in seconds at which the reaction occurredsim- theCombatSimulatormanaging the current simulation
-