Revision 15aa7d94
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/library/message/EffectListener.java | ||
---|---|---|
35 | 35 |
* Gets called when event of type 'eventType' happens to effect 'effectID'. |
36 | 36 |
* |
37 | 37 |
* @param eventType Type of event that happened. |
38 |
* @param effectID ID of the effect the event happened to. This ID must have been previously returned by one |
|
39 |
* of the DistortedEffects.{deform,distort,move,...} functions. |
|
40 |
* @param effectName Name of the effect as defined by final constants from the 4 classes descendant from Effect. |
|
41 |
* @param objectID the ID of the DistortedEffects object, as returned by {@link DistortedEffects#getID()}, |
|
38 |
* @param effectID ID of the effect the event happened to, as returned by {@link org.distorted.library.effect.Effect#getID() } |
|
39 |
* @param objectID the ID of the DistortedEffects object, as returned by {@link org.distorted.library.main.DistortedEffects#getID()}, |
|
42 | 40 |
* this event happened to. |
43 | 41 |
* @see EffectMessage |
44 | 42 |
*/ |
45 | 43 |
|
46 |
void effectMessage(final EffectMessage eventType, final long effectID, final int effectName, final long objectID);
|
|
44 |
void effectMessage(final EffectMessage eventType, final long effectID, final long objectID); |
|
47 | 45 |
} |
48 | 46 |
|
49 | 47 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Progress with support for Effect classes.