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, update
public RandomVelocityMovementBehavior()
public RandomVelocityMovementBehavior(Random random)
public void update(GameObject source, float delta)
Behavior
update
in interface Behavior
update
in class BehaviorAdapter
source
- the game object to apply the behavior todelta
- current frame deltaCopyright © 2020. All rights reserved.