|
GF4J 0.9.4 Beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gameframe.graphics.BitmapEffect | +--gameframe.graphics.EffectGroup
Groups a number of bitmap effects that are then applied when this effect is used in the order they were added.
Constructor Summary | |
EffectGroup()
|
Method Summary | |
void |
add(BitmapEffect effect)
Adds the given effect to this group of effects. |
BitmapData |
processData(BitmapData data)
Processes the given bitmap data with all the effects in this group. |
void |
remove(BitmapEffect effect)
Removes the given effect from this group of effects. |
void |
removeAll()
Removes all the effects from this group (no effects are applied). |
void |
reset()
Resets all the effects in this group. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EffectGroup()
Method Detail |
public void add(BitmapEffect effect)
effect
- The effect to be added.public void remove(BitmapEffect effect)
effect
- The effect to be removed.public void removeAll()
public void reset()
reset
in class BitmapEffect
public BitmapData processData(BitmapData data)
processData
in class BitmapEffect
data
- The raw bitmap data that is to be processed.
|
GF4J 0.9.4 Beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |