|
Simutrans-Squirrel-API
|
Public Member Functions | |
| schedule_x (way_types wt, array< schedule_entry_x > entries, integer current) | |
Public Attributes | |
| uint8 | current |
| array< schedule_entry_x > | entries |
| way_types | waytype |
Class holding the schedule
Definition at line 36 of file api_schedule.cc.
| schedule_x::schedule_x | ( | way_types | wt, |
| array< schedule_entry_x > | entries, | ||
| integer | current | ||
| ) |
Constructor. Parameters entries and current are optional.
| wt | way type |
| entries | array of entries of the new schedule (default = []) |
| current | current stop of schedule (default = 0) |
| uint8 schedule_x::current |
Current stop of schedule: default first stop (schedule of line) or next stop of convoy (schedule of convoy).
In order to change this value for a convoy call convoy_x::change_schedule.
Definition at line 65 of file api_schedule.cc.
| array< schedule_entry_x > schedule_x::entries |
The list of schedule targets.
Definition at line 50 of file api_schedule.cc.
| way_types schedule_x::waytype |
Waytype of schedule.
Definition at line 55 of file api_schedule.cc.
1.8.14