예제 #1
0
		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;
		}
예제 #2
0
        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;
        }