com.azalient.api.b.parameters
Interface ITransportType

All Superinterfaces:
IActionable, IAssociate, IDescribed, IDraggable, IMotorType, IPastable, IRecord, IType, RecordR, RecordRW, RecordW, SortableData, StoreRecordRW

public interface ITransportType
extends IMotorType

A public transport vehicle type


Field Summary
static int STANDARD_INDEX
          The first numeric index for public transport vehicle types
 
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
 IDistribution alightingTimes()
          Returns the distribution of alighting times - each passenger gets a time from this distribution to control how long it takes to get off a public transport of this type
 IDistribution boardingTimes()
          Returns the distribution of boarding times - each passenger gets a time from this distribution to control how long it takes to get onto a public transport of this type
 int capacity()
          Seated plus standing capacity of this vehicle (only).
 int capacityAll()
          Total (seated + standing) capacity of this and all attached types
 int exitDoors()
          The number of exit doors on the leading vehicle only.
 int exitDoorsAll()
          The number of exit doors on the whole vehicle, including any trailers
 boolean isLift()
          REturns true if this transport type is a lift (Lifts are modelled a special type of public transport vehicle).
 int standing()
          Standing capacity of this vehicle (only).
 int standingAll()
          Total standing capacity of this and all attached types
 
Methods inherited from interface com.azalient.api.b.parameters.IMotorType
conflictFactor, engine, extraPeople, gapFactor, halfsize, isCycle, isEmergency, isTaxi, mesh, sideGap, tyreFrictionSqRt
 
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
 

Field Detail

STANDARD_INDEX

static final int STANDARD_INDEX
The first numeric index for public transport vehicle types

See Also:
Constant Field Values
Method Detail

boardingTimes

IDistribution boardingTimes()
Returns the distribution of boarding times - each passenger gets a time from this distribution to control how long it takes to get onto a public transport of this type


alightingTimes

IDistribution alightingTimes()
Returns the distribution of alighting times - each passenger gets a time from this distribution to control how long it takes to get off a public transport of this type


capacity

int capacity()
Seated plus standing capacity of this vehicle (only). If this transport has attachments (for example part of a train) then this is only the value for this carriage, not the whole train


standing

int standing()
Standing capacity of this vehicle (only). If this transport has attachments (for example part of a train) then this is only the value for this carriage, not the whole train


capacityAll

int capacityAll()
Total (seated + standing) capacity of this and all attached types


standingAll

int standingAll()
Total standing capacity of this and all attached types


exitDoors

int exitDoors()
The number of exit doors on the leading vehicle only. The number of entry doors is stored on the stand


exitDoorsAll

int exitDoorsAll()
The number of exit doors on the whole vehicle, including any trailers


isLift

boolean isLift()
REturns true if this transport type is a lift (Lifts are modelled a special type of public transport vehicle).