|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SteeringProperties.SteeringProperties
public abstract class SteeringProperties
All the specific steering properties extend this class.
Nested Class Summary | |
---|---|
static class |
SteeringProperties.BehaviorType
These types are especially for SteeringGui or other similar aplication. |
Field Summary | |
---|---|
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 Summary | |
---|---|
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)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected SteeringType type
protected boolean active
protected double weight
protected SteeringProperties.BehaviorType behaviorType
Constructor Detail |
---|
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)
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |