Class Junction
From TrainzOnline
(Difference between revisions)
m (1 revision) |
m |
||
| Line 1: | Line 1: | ||
| − | *[[TrainzScript | + | *[[TrainzScript Language Reference|API Hierarchy]] |
**[[Class GSObject|GSObject]] * | **[[Class GSObject|GSObject]] * | ||
***[[Class GameObject|GameObject]] | ***[[Class GameObject|GameObject]] | ||
Revision as of 02:20, 10 February 2010
- The interface methods to control and obtain information about the status of a Junction can be found in the JunctionBase parent class.
- Capability generic to trackside items can be found in the Trackside class, which Junction also inherits from.
Related Messages
- Messages sent to and from Junction objects are listed below:
| Major | Minor | Source | Destination |
| Junction | Toggled | Junction | Broadcast |
| Junction | Enter | Junction | Train |
| Junction | InnerEnter | Junction | Train |
| Junction | Stopped | Junction | Train |
| Junction | InnerLeave | Junction | Train |
| Junction | Leave | Junction | Train |
| Object | Enter | Train | Junction |
| Object | InnerEnter | Train | Junction |
| Object | Stopped | Train | Junction |
| Object | InnerLeave | Train | Junction |
| Object | Leave | Train | Junction |