public class ExhaustParticleControl
extends com.almasb.fxgl.ecs.Control
| Modifier and Type | Field and Description |
|---|---|
static com.almasb.fxgl.core.collection.ObjectMap<javafx.scene.paint.Color,javafx.scene.image.Image> |
coloredImages |
| Constructor and Description |
|---|
ExhaustParticleControl(com.almasb.fxgl.core.math.Vec2 velocity,
float lifespan,
javafx.scene.paint.Color color) |
| Modifier and Type | Method and Description |
|---|---|
static void |
colorImage(javafx.scene.paint.Color color) |
void |
onAdded(com.almasb.fxgl.ecs.Entity e) |
void |
onRemoved(com.almasb.fxgl.ecs.Entity entity) |
void |
onUpdate(com.almasb.fxgl.ecs.Entity e,
double tpf) |
public static final com.almasb.fxgl.core.collection.ObjectMap<javafx.scene.paint.Color,javafx.scene.image.Image> coloredImages
public ExhaustParticleControl(com.almasb.fxgl.core.math.Vec2 velocity,
float lifespan,
javafx.scene.paint.Color color)
public static void colorImage(javafx.scene.paint.Color color)
public void onAdded(com.almasb.fxgl.ecs.Entity e)
onAdded in class com.almasb.fxgl.ecs.Modulepublic void onRemoved(com.almasb.fxgl.ecs.Entity entity)
onRemoved in class com.almasb.fxgl.ecs.Modulepublic void onUpdate(com.almasb.fxgl.ecs.Entity e,
double tpf)
onUpdate in class com.almasb.fxgl.ecs.ControlCopyright © 2017. All rights reserved.