C# Class OpenBve.TrackManager

ファイルを表示 Open project: leezer3/OpenBVE Class Usage Examples

Private Methods

Method Description
CheckEvents ( TrackFollower &Follower, int ElementIndex, int Direction, double OldDelta, double NewDelta ) : void
GetInaccuracies ( double position, double inaccuracy, double &x, double &y, double &c ) : void

Gets the innacuracy (Gauge spread and track bounce) for a given track position and routefile innacuracy value

TryTriggerEvent ( GeneralEvent Event, int Direction, EventTriggerType TriggerType, TrainManager Train, int CarIndex ) : void
UpdateCarFollowers ( TrainManager &car, double NewTrackPosition, bool UpdateWorldCoordinates, bool AddTrackInaccurary ) : void

Call this method to update all track followers attached to a car

UpdateTrackFollower ( TrackFollower &Follower, double NewTrackPosition, bool UpdateWorldCoordinates, bool AddTrackInaccurary ) : void

Call this method to update a single track follower