public class RandomVelocityMovementBehavior extends BehaviorAdapter
| Constructor and Description |
|---|
RandomVelocityMovementBehavior() |
RandomVelocityMovementBehavior(Random random) |
| Modifier and Type | Method and Description |
|---|---|
void |
update(GameObject source,
float delta)
Updates the behavior for a given source object.
|
onAttach, onDetach, onStatusChange, updatepublic RandomVelocityMovementBehavior()
public RandomVelocityMovementBehavior(Random random)
public void update(GameObject source, float delta)
Behaviorupdate in interface Behaviorupdate in class BehaviorAdaptersource - the game object to apply the behavior todelta - current frame deltaCopyright © 2020. All rights reserved.