示例#1
0
 internal JumpRecorder(
     IREEvents rtEvents,
     IDecalEventsProxy decalEvents,
     Action<SelfJumpCompleteEventArgs> fireJumpComplete)
     : this(rtEvents, decalEvents, fireJumpComplete, Location.CaptureCurrent)
 {
 }
示例#2
0
        internal JumpRecorder(
            IREEvents rtEvents,
            IDecalEventsProxy decalEvents,
            Action<SelfJumpCompleteEventArgs> fireJumpComplete,
            Func<Location> captureLocation)
        {
            this._decalEvents = decalEvents;
            this._reEvents = rtEvents;
            this._fireJumpComplete = fireJumpComplete;
            this._captureCurrentLocation = captureLocation;

            this._reEvents.SelfJump += _rtEvents_SelfJump;
        }