public FlightEnabledSlideMover(IPlayerMover innerMover, IFlightMovementArgs flightMovementArgs) { if (flightMovementArgs == null) { throw new NullReferenceException("flightMovementArgs is null"); } Logger = new Logger(this); this.innerMover = innerMover; this.flightMovementArgs = flightMovementArgs; GameEvents.OnMapChanged += GameEventsOnMapChanged; }
public FlightEnabledSlideMover(IPlayerMover innerMover, IFlightMovementArgs flightMovementArgs) { if (flightMovementArgs == null) { throw new NullReferenceException("flightMovementArgs is null"); } Logger = new Logger(this); InnerMover = innerMover; Navigator.PlayerMover = this; FlightMovementArgs = flightMovementArgs; GameEvents.OnMapChanged += GameEventsOnMapChanged; }