TrainScheduleStop

TrainScheduleStop

class

One entry of a train schedule

  • read-only Assigning to the field raises an error.

Fields

NameTypeDescription
id read-only integer Number of the stop, the same on every peer and across saves
station read-only string Name of the station the train goes to
condition read-only table? When the train leaves the station, in the shape Train.set_condition takes
Standard members (4)

These members are available on all classes of this kind.

TrainScheduleStop.cast(object) Trying to cast Object into TrainScheduleStop
TrainScheduleStop.get_class() Return TrainScheduleStop class object
TrainScheduleStop.new(parent, name) Creates a new TrainScheduleStop instance
TrainScheduleStop.new_simple() Creates a new TrainScheduleStop instance
Inherited from Instance (1)
Inherited from Object (3)

Used by