|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface class for all objects in a SimWorld
Method Summary | |
double |
getActualBearingVelocityXY()
Returns this objects actual bearing velocity in the XY plane |
double |
getActualBearingVelocityXZ()
Returns this objects actual bearing velocity in the XZ plane |
double |
getActualBearingXY()
Returns this objects actual bearing in the XY plane |
double |
getActualBearingXZ()
Returns this objects actual bearing in the XZ plane |
double |
getActualVelocity()
Returns this objects actual velocity. |
double |
getDesiredBearingVelocityXY()
Returns this objects desired bearing velocity in the XY plane |
double |
getDesiredBearingVelocityXZ()
Returns this objects desired bearing velocity in the XZ plane |
double |
getDesiredVelocity()
Returns this objects desired velocity. |
double |
getHeight()
Returns this object's height |
double |
getLength()
Returns this object's length |
java.lang.String |
getType()
Returns a string describing this object's type |
double |
getWidth()
Returns this object's width |
double |
getXCoord()
Returns this objects X coordinate |
double |
getYCoord()
Returns this objects Y coordinate |
double |
getZCoord()
Returns this objects Z coordinate |
void |
setActualBearingVelocityXY(double b)
Sets the actual 'bearing velocity' of this object in the XY plane. |
void |
setActualBearingVelocityXZ(double b)
Sets the actual 'bearing velocity' of this object in the XZ plane. |
void |
setActualBearingXY(double b)
Sets the actual bearing of this object in the XY plane |
void |
setActualBearingXZ(double b)
Sets the actual bearing of this object in the XZ plane |
void |
setActualVelocity(double v)
Sets the actual velocity of this object. |
void |
setDesiredBearingVelocityXY(double v)
Sets the desired 'bearing velocity' of this object in the XY plane. |
void |
setDesiredBearingVelocityXZ(double v)
Sets the desired 'bearing velocity' of this object in the XZ plane - a bearing velocity is the rate at which the object wants to turn. |
void |
setDesiredVelocity(double v)
Sets the desired velocity of this object - the SimWorld will then set its actual velocity accordingly (depending on wheher the object is colliding with another object etc.) Positive values mean the objet wants to move forward, and negative values mean the object wants to move backward. |
void |
setXCoord(double x)
Sets this objects X coordinate |
void |
setYCoord(double y)
Sets this objects Y coordinate |
void |
setZCoord(double z)
Sets this objects Z coordinate |
Method Detail |
public void setDesiredVelocity(double v)
v
- the desired velocitypublic void setActualVelocity(double v)
v
- the actual velocitypublic void setXCoord(double x)
x
- the X coordinatepublic void setYCoord(double y)
y
- the Y coordinatepublic void setZCoord(double z)
z
- the Z coordinatepublic double getDesiredVelocity()
public double getActualVelocity()
public double getXCoord()
public double getYCoord()
public double getZCoord()
public void setDesiredBearingVelocityXZ(double v)
v
- the desired bearing velocity in the XZ planepublic void setDesiredBearingVelocityXY(double v)
v
- the desired bearing velocity in the XY planepublic void setActualBearingVelocityXZ(double b)
b
- the actual bearing velocity in the XZ planepublic void setActualBearingVelocityXY(double b)
b
- the actual bearing velocity in the XY planepublic void setActualBearingXZ(double b)
b
- the bearingpublic void setActualBearingXY(double b)
b
- the bearingpublic double getDesiredBearingVelocityXZ()
public double getDesiredBearingVelocityXY()
public double getActualBearingVelocityXZ()
public double getActualBearingVelocityXY()
public double getActualBearingXZ()
public double getActualBearingXY()
public double getHeight()
public double getWidth()
public double getLength()
public java.lang.String getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |