This works:
Effect.grow(label, new EffectOption[] {
new EffectOption("direction", "center")
});
This does not:
Effect.grow(label, new EffectOption[] {
new EffectOption("direction", "center"),
new EffectOption("duration", 5.0d)
});
Worse yet, it just fails silently, with no errors that I can see.
I find it disappointing that there seem to be bugs with effect options when effects were evidently the first thing incorporated into the toolkit.
Logged In: NO
Hi,
Have you tried this:
Effect.grow(label, new EffectOption[] {
new EffectOption("direction", "center"),
new EffectOption("duration", 5.0)
});
ie, without the d indicating it's a double? I've had success with durations and effects, though not using grow.
Dan