public abstract class SteeringProperties extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SteeringProperties.BehaviorType
These types are especially for SteeringGui or other similar aplication.
|
Modifier and Type | Field and Description |
---|---|
protected boolean |
active
Whether the steering is active.
|
protected SteeringProperties.BehaviorType |
behaviorType
The behavior type.
|
protected SteeringType |
type
The type of the steering.
|
protected double |
weight
The weight of the steering.
|
Constructor and Description |
---|
SteeringProperties(SteeringType type) |
SteeringProperties(SteeringType type,
boolean active,
double weight) |
SteeringProperties(SteeringType type,
boolean active,
double weight,
SteeringProperties.BehaviorType behaviorType) |
SteeringProperties(SteeringType type,
SteeringProperties.BehaviorType behaviorType) |
Modifier and Type | Method and Description |
---|---|
SteeringProperties.BehaviorType |
getBehaviorType() |
abstract String |
getSpecialText() |
String |
getText() |
SteeringType |
getType() |
double |
getWeight() |
boolean |
isActive() |
void |
setActive(boolean active) |
void |
setBehaviorType(SteeringProperties.BehaviorType behaviorType) |
protected abstract void |
setNewBehaviorType(SteeringProperties.BehaviorType behaviorType) |
abstract void |
setProperties(SteeringProperties newProperties) |
void |
setType(SteeringType type) |
void |
setWeight(double weight) |
protected SteeringType type
protected boolean active
protected double weight
protected SteeringProperties.BehaviorType behaviorType
public SteeringProperties(SteeringType type)
public SteeringProperties(SteeringType type, SteeringProperties.BehaviorType behaviorType)
public SteeringProperties(SteeringType type, boolean active, double weight)
public SteeringProperties(SteeringType type, boolean active, double weight, SteeringProperties.BehaviorType behaviorType)
public SteeringType getType()
public void setType(SteeringType type)
public boolean isActive()
public void setActive(boolean active)
public double getWeight()
public void setWeight(double weight)
public SteeringProperties.BehaviorType getBehaviorType()
public void setBehaviorType(SteeringProperties.BehaviorType behaviorType)
public String getText()
protected abstract void setNewBehaviorType(SteeringProperties.BehaviorType behaviorType)
public abstract void setProperties(SteeringProperties newProperties)
public abstract String getSpecialText()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.