public final class CircularMovementControl extends AbstractControl
| Constructor and Description |
|---|
CircularMovementControl(double speed,
double radius) |
| Modifier and Type | Method and Description |
|---|---|
void |
onAdded(Entity entity)
Called when this control is added to entity.
|
void |
onUpdate(Entity entity,
double tpf)
Called on entity world update tick.
|
public CircularMovementControl(double speed,
double radius)
public void onAdded(Entity entity)
ControlonAdded in interface ControlonAdded in class AbstractControlentity - the entity to which this control was addedCopyright © 2017. All rights reserved.