public static class BlendedSteering.BehaviorAndWeight<T extends com.badlogic.gdx.math.Vector<T>>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected SteeringBehavior<T> |
behavior |
protected float |
weight |
| Constructor and Description |
|---|
BehaviorAndWeight(SteeringBehavior<T> behavior,
float weight) |
| Modifier and Type | Method and Description |
|---|---|
SteeringBehavior<T> |
getBehavior() |
float |
getWeight() |
void |
setBehavior(SteeringBehavior<T> behavior) |
void |
setWeight(float weight) |
protected SteeringBehavior<T extends com.badlogic.gdx.math.Vector<T>> behavior
protected float weight
public BehaviorAndWeight(SteeringBehavior<T> behavior, float weight)
public SteeringBehavior<T> getBehavior()
public void setBehavior(SteeringBehavior<T> behavior)
public float getWeight()
public void setWeight(float weight)