Modifier and Type | Class and Description |
---|---|
static class |
PanelEffect.SteadyProjectileEffect
Almost exactly lke
PanelEffect.ProjectileEffect , but its duration specifies the amount of time to spend crossing each
cell (in seconds), not the duration of the entire effect. |
Modifier and Type | Method and Description |
---|---|
static com.badlogic.gdx.scenes.scene2d.Action |
PanelEffect.makeGrenadeEffect(PanelEffect.ProjectileEffect projectile,
com.badlogic.gdx.scenes.scene2d.Action result)
Convenience method to make a ProjectileEffect or SteadyProjectileEffect take an "arc-like" path toward the
target, where it is fast at the beginning and end of its motion and is reaching the height of its arc at the
center, before triggering another Action when the projectile stops (often this might be an
PanelEffect.ExplosionEffect , but could be any scene2d Action). |
Copyright © Eben Howard 2012–2022. All rights reserved.