|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMotorType
The base interface for a motorised type, used by both IVehicleType and ITransportType
| Field Summary |
|---|
| Fields inherited from interface com.azalient.api.b.parameters.IType |
|---|
ZERO |
| Fields inherited from interface com.azalient.api.ui.clipboard.IAssociate |
|---|
scratch |
| Fields inherited from interface com.azalient.api.a.tables.IRecord |
|---|
DELETED, KEY_SEP, KEY_SEP_CHAR |
| Method Summary | |
|---|---|
double |
conflictFactor()
Returns a factor that is used to increase the gap required by this vehicle when crossing conflicting streams of traffic |
IEngine |
engine()
Returns a reference to the engine assigned to this type. |
int |
extraPeople()
Returns the number of "extra" people in this vehicle. |
double |
gapFactor()
Returns a factor that is used to increase the gap required by this vehicle when following other vehicles |
IXyz |
halfsize()
An Xyz object holding the half-size dimensions, i.e. |
boolean |
isCycle()
Returns true if this is a bicycle |
boolean |
isEmergency()
Returns true if this is an emergency vehicle |
boolean |
isTaxi()
Returns true if this is a taxi |
IMesh |
mesh(boolean flat,
IXyz halfSize)
Returns a mesh object for drawing in Solid or Outline mode |
double |
sideGap()
Returns the preferred minimum gap to the side of this (vehicle) that is used when vehicles share lanes. |
double |
tyreFrictionSqRt()
A tyre friction coefficient used to calculate turning speeds |
| Methods inherited from interface com.azalient.api.b.parameters.IType |
|---|
attachedType, attachedType, attachmentAngle, attachmentAngle, attachmentCount, attachmentDistance, attachmentDistance, behaviour, colour, height, index, isAttached, keepSide, length, maxAcceleration, maxDeceleration, mode, name, rgb, shapeGroup, sizeVariation, space, unitShape, used, weightKG, width |
| Methods inherited from interface com.azalient.api.a.tables.IDescribed |
|---|
description |
| Methods inherited from interface com.azalient.api.ui.clipboard.IPastable |
|---|
finish, pickables |
| Methods inherited from interface com.azalient.api.ui.clipboard.IAssociate |
|---|
clip, proxy, selected |
| Methods inherited from interface com.azalient.api.ui.clipboard.IDraggable |
|---|
selected, selectedForDraggingDraw |
| Methods inherited from interface com.azalient.api.ui.clipboard.IActionable |
|---|
action |
| Methods inherited from interface com.azalient.api.file.StoreRecordRW |
|---|
canRename, rename, store |
| Methods inherited from interface com.azalient.api.file.RecordR |
|---|
extraSet, finished, isApplicable, isEditable, set |
| Methods inherited from interface com.azalient.api.file.RecordW |
|---|
extraCols, extraGet, extraGetB, extraGetD, extraGetI, extraGetS, extraGetT, get, isVolatile |
| Method Detail |
|---|
IEngine engine()
IXyz halfsize()
IMesh mesh(boolean flat,
IXyz halfSize)
double sideGap()
double gapFactor()
double conflictFactor()
double tyreFrictionSqRt()
boolean isCycle()
boolean isTaxi()
boolean isEmergency()
int extraPeople()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||