public class PhysicsControl extends AbstractControl
| Modifier and Type | Method and Description |
|---|---|
void |
onAdded(Entity entity) |
void |
onUpdate(Entity entity,
double tpf) |
void |
reposition(javafx.geometry.Point2D point)
Repositions an entity that supports physics directly in the physics world.
|
public void onAdded(Entity entity)
onAdded in interface ControlonAdded in class AbstractControlpublic void onUpdate(Entity entity, double tpf)
public void reposition(javafx.geometry.Point2D point)
point - point in game world coordinates (pixels)Copyright © 2017. All rights reserved.