public class BatControl
extends com.almasb.fxgl.ecs.Control
| Modifier and Type | Field and Description |
|---|---|
protected com.almasb.fxgl.physics.PhysicsComponent |
bat |
protected com.almasb.fxgl.entity.component.BoundingBoxComponent |
bbox |
protected com.almasb.fxgl.entity.component.PositionComponent |
position |
| Constructor and Description |
|---|
BatControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
down() |
void |
onAdded(com.almasb.fxgl.ecs.Entity entity) |
void |
onUpdate(com.almasb.fxgl.ecs.Entity entity,
double tpf) |
void |
stop() |
void |
up() |
protected com.almasb.fxgl.entity.component.PositionComponent position
protected com.almasb.fxgl.physics.PhysicsComponent bat
protected com.almasb.fxgl.entity.component.BoundingBoxComponent bbox
public void onAdded(com.almasb.fxgl.ecs.Entity entity)
onAdded in class com.almasb.fxgl.ecs.Modulepublic void onUpdate(com.almasb.fxgl.ecs.Entity entity,
double tpf)
onUpdate in class com.almasb.fxgl.ecs.Controlpublic void up()
public void down()
public void stop()
Copyright © 2017. All rights reserved.