Project

General

Profile

« Previous | Next » 

Revision fe82a979

Added by Leszek Koltunski almost 7 years ago

Progress with support for Effect classes.

View differences:

src/main/java/org/distorted/library/message/EffectListener.java
21 21

  
22 22
///////////////////////////////////////////////////////////////////////////////////////////////////
23 23

  
24
import org.distorted.library.main.DistortedEffects;
25

  
24 26
/**
25 27
 * This interface lets users of the Distorted library get notified when something happens to one of the effects.
26
 * To receive the notifications, we first have to register with a call to {@link org.distorted.library.DistortedEffects#registerForMessages(EffectListener)}.
28
 * To receive the notifications, we first have to register with a call to {@link DistortedEffects#registerForMessages(EffectListener)}.
27 29
 * List of all possible events that can happen is defined in {@link EffectMessage}
28 30
 */
29 31

  
......
36 38
 * @param effectID   ID of the effect the event happened to. This ID must have been previously returned by one
37 39
 *                   of the DistortedEffects.{deform,distort,move,...} functions.
38 40
 * @param effectName Name of the effect as defined by final constants from the 4 classes descendant from Effect.
39
 * @param objectID   the ID of the DistortedEffects object, as returned by {@link org.distorted.library.DistortedEffects#getID()},
41
 * @param objectID   the ID of the DistortedEffects object, as returned by {@link DistortedEffects#getID()},
40 42
 *                   this event happened to.
41 43
 * @see EffectMessage
42 44
 */

Also available in: Unified diff