Наследование: MonoBehaviour
Пример #1
0
 public LandingDTO(Landing landing)
 {
     Company         = landing.Plane.Company;
     RunwayStationId = landing.Plane.CurrentStationId;
     Time            = landing.Time;
     PlaneId         = landing.Plane.Id;
 }
Пример #2
0
        /// <summary>
        /// Schedules a flight for landing by finding the availabilitiy of the runways and calculating the time for landing
        /// </summary>
        /// <param name="flight"> The flight to be taken off</param>
        /// <param name="buffer"> Buffer time between different operations</param>
        /// <param name="weatherOffset"> Delay due to weather conditions </param>
        /// <returns> Landing info </returns>
        public async Task <Landing> ScheduleLanding(Flight flight, int buffer, int weatherOffset)
        {
            var updatedFlightInfo = await _airportRepository.GetFlightById(flight.Id);

            if (updatedFlightInfo == null)
            {
                throw new IndexOutOfRangeException($"Flight id : {flight.Id} is not a valid flight id.");
            }

            var availableRunway = await FindAvailableRunway();

            var timeRequired = CalculateDuration(updatedFlightInfo.LandingDuration, buffer, weatherOffset);

            Landing landing = new Landing
            {
                FlightId   = updatedFlightInfo.Id,
                IsFinished = false,
                RunwayId   = availableRunway.Id,
                StartTime  = availableRunway.NextAvailableTime,
            };

            await _airportRepository.AddLanding(landing);

            //updating the runway by adding the time required for landing to NextAvailable time.
            availableRunway.NextAvailableTime = availableRunway.NextAvailableTime.Add(timeRequired);
            availableRunway.Landings.Add(landing);
            await _airportRepository.UpdateRunway(availableRunway);

            await _airportRepository.SaveChangesAsync();

            return(landing);
        }
Пример #3
0
 protected virtual void GenerateLandingRoom(Board board, Vector2Int stairway, Verticality verticality)
 {
     landing = new Landing();
     rooms.Add(landing);
     landing.SetupRoom(stairway, verticality, board.startingDoorwayDirection, identifier);
     landing.TestRoomValidity(board);
 }
Пример #4
0
        //Make Mod
        private void MakeMod_Click(object sender, EventArgs e)
        {
            Landing loadForm = new Landing();

            loadForm.Show();
            this.Hide();
        }
Пример #5
0
        public async Task <Landing> GetLanding(string name, bool simple = false)
        {
            if (simple)
            {
                return(new Landing
                {
                    Template = await System.IO.File.ReadAllTextAsync($"{_env.WebRootPath}/templates/{name}")
                });
            }


            var landing = new Landing
            {
                Template     = await System.IO.File.ReadAllTextAsync($"{_env.WebRootPath}/templates/{name}"),
                Host         = _httpContext.HttpContext.Request.Host.Value,
                HostName     = _httpContext.HttpContext.Request.Host.Host,
                RedirectLink = _doorsettings.redirect,
                MetricaId    = _doorsettings.metrika_id,
                Header       = new Header
                {
                    Title       = _doorsettings.title,
                    Description = _doorsettings.description
                },
                Body = new Body
                {
                    SiteName = _doorsettings.site_name,
                    H1       = _doorsettings.h1
                },
                KeyRandom = new KeyRandom(System.IO.File.ReadAllLines($"{_env.WebRootPath}/data/key/key.random.txt"))
            };

            return(landing);
        }
Пример #6
0
 private void BtnSignUp_Click(object sender, EventArgs e)
 {
     if (this.Parent.Parent is Landing)
     {
         Console.WriteLine("ok");
         Landing landing = this.Parent.Parent as Landing;
         landing.Contain(landing.GetRegForm());
     }
 }
Пример #7
0
    // Use this for initialization
    void Start()
    {
        mLanding       = GetComponent <Landing>();
        mWeightManager = GetComponent <WeightManager>();
        mWaterState    = GetComponent <WaterState>();
        mMoveManager   = GetComponent <MoveManager>();

        mHighestPosition = transform.position;          //最高地点を更新
        mBeforePosition  = transform.position;
    }
Пример #8
0
    private void OnLanding()
    {
        if (_isLanding == true)
        {
            Landing?.Invoke();
            Debug.Log("Landed");
        }

        _isLanding = false;
    }
Пример #9
0
    private void Spawn()
    {
        Landing randomUnoccupiedLanding = GetRandomUnoccupiedLanding();

        if (randomUnoccupiedLanding)
        {
            randomUnoccupiedLanding.SpawnTower(GetRandomTowerPrefab());
            lastSpawnTime = Time.time;
        }
    }
Пример #10
0
 public SendLandingStruct()
 {
     _landingHelper    = new LandingHelper();
     _aircraft         = new AircraftPosition();
     _aerodromePoint   = new AerodromePoint();
     _landing          = new Landing();
     _coordinateHelper = new CoordinateHelper();
     _landing.Head     = _landing.GetHead("TacticalEditor_Landing");
     EventsHelper.ChangeAircraftCoordinateEvent += ChangeAircraftCoordinate;
     EventsHelper.ChangeAerodromeEvent          += ChangeAerodrome;
 }
Пример #11
0
 private void BtnBack_Click(object sender, EventArgs e)
 {
     if (this.Parent.Parent is Landing)
     {
         Console.WriteLine("ok");
         Landing landing = this.Parent.Parent as Landing;
         landing.Contain(landing.GetLoginForm());
     }
     else
     {
         ResetSubmission();
     }
 }
Пример #12
0
        public void LandingInitialization()
        {
            var landing = new Landing(Planet);

            // Assert that the target objects are the same;
            Assert.IsTrue(Planet.CompareObject(landing.Target));

            // Assert that the 'StepName' is correct.
            Assert.AreEqual($"{Planet.Name} Landing", landing.StepName);

            // Assert that the 'StepID' is 'Landing' since this is the landing class.
            Assert.AreEqual(StepID.Landing, landing.StepID);

            // Since 'Planet' has an atmosphere, we should be able to use chutes.
            Assert.IsTrue(landing.CanUseParachutes);
        }
Пример #13
0
        public Robot(IWebDriver driver)
        {
            this.driver = driver;
            Util        = new Util(driver);

            Landing = new Landing(driver);
            Login   = new Login(driver);

            Common = new Common(driver);
            Home   = new Home(driver);

            MyNetwork   = new MyNetwork(driver);
            Connections = new Connections(driver);

            Profile = new Profile(driver);
        }
Пример #14
0
            public static List <StaticResourceDto> GetAllPrivateResources()
            {
                var list = new List <StaticResourceDto>();

                list.AddRange(DataPermission.GetAll());
                list.AddRange(MultiTenant.GetAll());
                list.AddRange(Common.GetAll());
                list.AddRange(Landing.GetAll());
                list.AddRange(Administration.GetAll());
                list.AddRange(Purchase.GetAll());
                list.AddRange(Sales.GetAll());
                list.AddRange(Stock.GetAll());
                list.AddRange(Hr.GetAll());


                return(list);
            }
Пример #15
0
            private Line SearchBaseLine()
            {
                //output
                Line baseSeg = new Line();

                //process
                List <Line> landingSeg  = Landing.GetSegments().ToList();
                List <Line> perpToStair = new List <Line>();

                double perpTolerance = 0.005;

                foreach (Line i in landingSeg)
                {
                    double axisDecider = Math.Abs(Vector3d.Multiply(i.Direction, UpstairDirec));
                    if (axisDecider < perpTolerance)
                    {
                        perpToStair.Add(i);
                    }
                }

                perpToStair.Sort(delegate(Line x, Line y)
                {
                    Point3d perp1Center = x.PointAt(0.5);
                    Point3d perp2Center = y.PointAt(0.5);

                    Vector3d gapBetween = perp1Center - perp2Center;
                    double decider      = Vector3d.Multiply(gapBetween, UpstairDirec);

                    if (decider > 0)
                    {
                        return(-1);
                    }
                    else if (decider == 0)
                    {
                        return(0);
                    }
                    else
                    {
                        return(1);
                    }
                });

                baseSeg = perpToStair[0];

                return(baseSeg);
            }
        public IHttpActionResult Post(Landing landing)
        {
            try
            {
                if (
                    landing != null &&
                    landing.Ip != null
                    )
                {
                    _landingServico.Add(landing);
                }

                return(Ok("true"));
            }
            catch
            {
                return(BadRequest("false"));
            }
        }
Пример #17
0
        public static void Main(string[] args)
        {
            Landing lndg = new Landing();

            lndg.landing(out Browser, out Server, out UserType, out UserEmail, out UserPassword, out IsCreate);
            switch (Browser.ToUpper())
            {
            case "CHROME": _driver = new ChromeDriver(); break;

            case "MOZILLA": _driver = new FirefoxDriver(); break;

            case "IE": _driver = new InternetExplorerDriver(); break;

            default: _driver = new ChromeDriver(); break;
            }

            Login lgn = new Login(_driver, Server);

            lgn.login(UserType, UserEmail, UserPassword, IsCreate);
        }
Пример #18
0
        public async Task <string> Generate(Landing landing)
        {
            _logger.LogInformation("Generating template");

            landing.Template = await _mediator.Send(new MacTitleQuery(landing));

            landing.Template = await _mediator.Send(new MacDescriptionQuery(landing));

            landing.Template = await _mediator.Send(new MacSiteNameQuery(landing));

            landing.Template = await _mediator.Send(new MacH1Query(landing));

            landing.Template = await _mediator.Send(new MacHostQuery(landing));

            landing.Template = await _mediator.Send(new MacHostNameQuery(landing));

            landing.Template = await _mediator.Send(new MacRedirectLinkQuery(landing));

            landing.Template = await _mediator.Send(new MacKeyRandomQuery(landing));

            landing.Template = await _mediator.Send(new MacMetrikaQuery(landing));

            return(landing.Template);
        }
Пример #19
0
    private void ChooseLandingStyle()
    {
        if (onGround)
        {
            state = State.landing;

            if (SpeedAchievedOnFall > mortalSpeed)
            {
                landStyle = Landing.death;
            }
            else if (SpeedAchievedOnFall > highSpeed)
            {
                landStyle = Landing.high;
            }
            else if (SpeedAchievedOnFall < highSpeed)
            {
                landStyle = Landing.low;
            }
            else
            {
                Debug.Log("Somethings wrong I can feel it");
            }
        }
    }
Пример #20
0
 public MacRedirectLinkQuery(Landing landing) : base(landing)
 {
 }
Пример #21
0
 public MacSiteNameQuery(Landing landing) : base(landing)
 {
 }
Пример #22
0
 public MacKeyRandomQuery(Landing landing) : base(landing)
 {
 }
 void Start()
 {
     landingComponent = FindObjectOfType <Landing>();
 }
Пример #24
0
 public MacDescriptionQuery(Landing landing) : base(landing)
 {
 }
Пример #25
0
    void CheckLandingFalse()
    {
        LandColList.Clear();

        //		// 接地方向を求める
        //		float landVec = -1.0f;
        //		// 宙に浮かぶ重さ、又は水中での水面に浮かぶ重さなら
        //		if ((WeightMng.WeightLv == WeightManager.Weight.flying) ||
        //			(WaterStt.IsInWater && WeightMng.WeightLv <= WeightManager.Weight.light)) {
        //			// 上方向に接地
        //			landVec = 1.0f;
        //		}

        if (!MoveMng)
        {
            return;
        }

        float landVec = MoveMng.GetFallVec();

        // 接地方向の逆方向に移動していれば接地していない
        if (landVec == -1.0f)
        {
            if (MoveMng.PrevMove.y > 0.0f)
            {
                IsLanding = false;
                return;
            }
        }
        else
        {
            if (MoveMng.PrevMove.y < 0.0f)
            {
                IsLanding = false;
                return;
            }
        }

        // 接地側の判定オブジェクトを取得
        if (landVec < 0.0f)
        {
            LandingCol = FourSideCol.BottomCol;
        }
        else
        {
            LandingCol = FourSideCol.TopCol;
        }

        // 離地判定
        LandColList.AddRange(Physics.OverlapBox(LandingCol.position, LandingCol.localScale * 0.5f, LandingCol.rotation, mask));

        // 自身は接地対象から除く
        for (int idx = LandColList.Count - 1; idx >= 0; idx--)
        {
            if (LandColList[idx].gameObject == gameObject)
            {
                LandColList.RemoveAt(idx);
            }
        }

        // 一致方向のすり抜け床の除外
        for (int idx = LandColList.Count - 1; idx >= 0; idx--)
        {
            OnewayFloor oneway = LandColList[idx].GetComponent <OnewayFloor>();
            if (MoveMng.PrevMove.y != 0.0f)
            {
                if (oneway && oneway.IsThrough(Vector3.up * MoveMng.PrevMove.y, gameObject))
                {
                    LandColList.RemoveAt(idx);
                }
            }
            else
            {
                if (oneway && oneway.IsThrough(Vector3.up * MoveMng.GetFallVec(), gameObject))
                {
                    LandColList.RemoveAt(idx);
                }
            }
        }

//		// 自身が上方向に移動する重さの際に、下方向に移動する重さオブジェクトを除外(MoveFloorは除外しない)
//		if (MoveMng.GetFallVec() == 1.0f) {
//			for (int idx = LandColList.Count - 1; idx >= 0; idx--) {
//				if (LandColList[idx].tag != "MoveFloor") {	// MoveFloorは除外しない
//					MoveManager landMoveMng = LandColList[idx].GetComponent<MoveManager>();
//					if (landMoveMng && (landMoveMng.GetFallVec() == -1.0f))
//						LandColList.RemoveAt(idx);
//				}
//			}
//		}

        //		// 自身が重さ1で水中にない時、水中の重さ0には着地できない
        //		if ((WeightMng.WeightLv == WeightManager.Weight.light) && !WaterStt.IsInWater) {
        //			for (int idx = LandColList.Count - 1; idx >= 0; idx--) {
        //				WeightManager colWeightMng = LandColList[idx].GetComponent<WeightManager>();
        //				WaterState colWaterStt = LandColList[idx].GetComponent<WaterState>();
        //				if (colWeightMng && colWaterStt && colWaterStt.IsInWater && (colWeightMng.WeightLv == WeightManager.Weight.flying)) {
        //					LandColList.RemoveAt(idx);
        //				}
        //			}
        //		}
        //
        //		// 自身が重さ1以上で水中にない時、水中の自身の重さ未満のオブジェクトには着地できない
        //		if ((WeightMng.WeightLv == WeightManager.Weight.heavy) && !WaterStt.IsInWater) {
        //			for (int idx = LandColList.Count - 1; idx >= 0; idx--) {
        //				WeightManager colWeightMng = LandColList[idx].GetComponent<WeightManager>();
        //				WaterState colWaterStt = LandColList[idx].GetComponent<WaterState>();
        //				if (colWeightMng && colWaterStt && colWaterStt.IsInWater && (colWeightMng.WeightLv < WeightMng.WeightLv)) {
        //					LandColList.RemoveAt(idx);
        //				}
        //			}
        //		}

        // 自身の重さ未満の浮いているオブジェクトには着地できない
        for (int idx = LandColList.Count - 1; idx >= 0; idx--)
        {
            WeightManager colWeightMng = LandColList[idx].GetComponent <WeightManager>();
            Landing       colLand      = LandColList[idx].GetComponent <Landing>();
            if (WeightMng && colWeightMng && colLand &&
                (WeightMng.WeightLv > colWeightMng.WeightLv) && !colLand.IsLanding && !colLand.IsExtrusionLanding)
            {
                LandColList.RemoveAt(idx);
            }
        }

        // 自身にしか着地していない自身より軽いオブジェクトを除外
        List <Collider> thisOnlyLandList = new List <Collider>();

        for (int idx = LandColList.Count - 1; idx >= 0; idx--)
        {
            WeightManager colWeightMng = LandColList[idx].GetComponent <WeightManager>();
            Landing       colLand      = LandColList[idx].GetComponent <Landing>();
            if (colLand && WeightMng && colWeightMng && ((colLand.LandColList.Count == 1) && colLand.LandColList.Contains(MoveMng.UseCol)) && (WeightMng.WeightLv > colWeightMng.WeightLv))
            {
                thisOnlyLandList.Add(LandColList[idx]);
            }
        }

        // 接地しているオブジェクトが存在しなければ離地
        if ((LandColList.Count - thisOnlyLandList.Count) == 0)
        {
            IsLanding = false;
            Debug.Log("離地 " + Support.ObjectInfoToString(gameObject));
        }
    }
Пример #26
0
 /// <summary>
 /// Called after a <see cref="API.Features.Player"/> lands.
 /// </summary>
 /// <param name="ev">The <see cref="LandingEventArgs"/> instance.</param>
 public static void OnLanding(LandingEventArgs ev) => Landing.InvokeSafely(ev);
Пример #27
0
        /// <summary>
        /// Read every message that gets sent
        /// </summary>
        public async void ReadmessagesAsync(SocketMessage message)
        {
            // Set up the Socket User Message so we can use it for context for later
            var  usermessage = message as SocketUserMessage;
            var  chnl        = message.Channel as SocketGuildChannel;
            bool GuildCheck  = true;

            // Make sure we don't do anything in RTX-London
            try
            {
                if (chnl.Guild.Id == 358283239053590528)
                {
                    GuildCheck = false;
                }
            }
            catch { }
            if (GuildCheck == true)
            {
                try
                {
                    if (Validation.Istext(message))
                    {
                        // Check if the message is a command based off if a bang is the first letter
                        if (Validation.Iscommand(message))
                        {
                            // Set up Command Context
                            var context = new CommandContext(discordclient, usermessage);
                            // Check if the message sent matches an actual command in the approved or public commands
                            bool found = false;
                            if (Validation.CheckCommand(message, "help") && found == false)
                            {
                                found = await Help.HelpCommands(message, context);
                            }
                            if (message.Channel.Name.ToLower() == "landing" && found == false)
                            {
                                found = await Landing.LandingCommands(message, context, discordclient);
                            }
                            else
                            {
                                // Head Guardian/Admin Commands
                                if (Validation.IsHGorAdmin(message, discordclient) && found == false)
                                {
                                    found = await Admins.AdminCommands(message, context, discordclient);
                                }
                                // Team Lead Commands
                                if (Validation.IsTL(message) && found == false)
                                {
                                    found = await TeamLead.TeamCommand(message, context);
                                }
                                if (found == false)
                                {
                                    found = await Fun.FunCommands(message, context, discordclient);
                                }
                                if (found == false)
                                {
                                    found = await Music.MusicCommands(message, context, discordclient, _lavaNode);
                                }
                                if (found == false)
                                {
                                    found = await Phone.PhoneCommands(message, discordclient);
                                }
                            }
                        }
                        // Check if there were any mentions
                        else if (Validation.BotMentioned(message, discordclient))
                        {
                            // Set up Command Context
                            var context = new CommandContext(discordclient, usermessage);
                            if (message.Content.Replace("<@!503445217530085396>", "").Trim() == "")
                            {
                                // If so send a gif
                                await context.Channel.SendMessageAsync(Angela.RandomAngela());
                            }
                        }
                        // Log all text
                        WriteLog(message.Channel + ": " + message.Author + " - " + message.Content);
                        if (!reg.IsMatch(message.Content) && message.Author.IsBot == false)
                        {
                            try
                            {
                                using (var db = new LiteDatabase(@"Guardians.db"))
                                {
                                    var Guardians = db.GetCollection <UserData>("Guardians");
                                    var Guardian  = Guardians.Find(x => x.GroupMeGroup != null && x.Channels.Contains(message.Channel.Name.ToLower()) && x.GroupMeTime == null);
                                    foreach (var notify in Guardian)
                                    {
                                        if (notify.DiscordUsername.ToLower() != message.Author.Username.ToLower() + "#" + message.Author.Discriminator.ToString())
                                        {
                                            GroupMe.SendMessage(notify.GroupMeBot, message.Channel.Name, message.Author.Username, message.Content, creds.GroupMe);
                                        }
                                    }
                                }
                            }
                            catch { }
                        }
                    }
                }
                catch { Console.WriteLine("Parsing Commands timed out: " + message.Channel.Name + " " + message.Content); }
            }
        }
Пример #28
0
    bool Jump()
    {
        if (!useManualJump)
        {
            return(false);
        }
        if (IsHandSpringWeit)
        {
            return(false);
        }

        // ジャンプ入力(トリガー)がなければ
        if (!jumpStandbyFlg || prevJumpStandbyFlg)
        {
            return(false);
        }
        // ジャンプ可能でなければ
        if (!canJump)
        {
            return(false);
        }
        // 天井反転中なら
        if (IsHandSpring)
        {
            return(false);
        }

        // 着地していなければ
        if (!IsLanding && !WaterStt.IsWaterSurface && !Land.IsWaterFloatLanding)
        {
            return(false);
        }

        // 水面で安定した瞬間であれば
        if (WaterStt.IsWaterSurfaceChange && WaterStt.IsWaterSurface)
        {
            return(false);
        }

        // ステージに接地、又は水面で安定していなければ
        //		Debug.LogWarning("IsLanding:" + Land.IsLanding);
        //if (!Land.IsLanding && !WaterStt.IsWaterSurface) {
        if (!(Land.IsLanding || WaterStt.IsWaterSurface))
        {
            // 接地、又は安定しているオブジェクトにも接地していなければ
            List <Transform> pileObjs  = Pile.GetPileBoxList(new Vector3(0.0f, MoveMng.GravityForce, 0.0f));
            bool             stagePile = false;
            foreach (var pileObj in pileObjs)
            {
                Landing    pileLand     = pileObj.GetComponent <Landing>();
                WaterState pileWaterStt = pileObj.GetComponent <WaterState>();
                //				WaterState pileWaterStt = pileObj.GetComponent<WaterState>();
                //				if ((pileLand && (pileLand.IsLanding || pileLand.IsExtrusionLanding)) || (pileWaterStt && (pileWaterStt.IsWaterSurface))) {
                if ((pileLand && (pileLand.IsLanding || pileLand.IsExtrusionLanding || pileWaterStt.IsWaterSurface)))
                {
                    stagePile = true;
                    break;
                }
            }
            if ((pileObjs.Count == 0) || !stagePile)
            {
                // ジャンプ不可
                return(false);
            }
        }

        // 水面の場合
        if (WaterStt.IsWaterSurface)
        {
            // 自身の上にオブジェクトが乗っていればジャンプできない
            if (Pile.GetPileBoxList(Vector3.up).Count > 0)
            {
                return(false);
            }
        }

        // ジャンプ直後であれば
        //		if (jumpLimitTime > Time.time) return;

        Debug.Log("Jump");

        // パーティクル生成
        if (IsLanding)
        {
            GetComponent <GeneratePlayerJumpJet>().GenerateInGroundEffect();
        }
        else if (WaterStt.IsWaterSurface)
        {
            GetComponent <GeneratePlayerJumpJet>().GenerateInWaterSurfaceEffect();
        }
        else
        {
            GetComponent <GeneratePlayerJumpJet>().GenerateInWaterEffect();
        }

        // ジャンプアニメーション
        if (!Lift.IsLifting)
        {
            PlAnim.StartJump();
        }
        else
        {
            PlAnim.StartHoldJump();
        }

        if (!WaterStt.IsWaterSurface)
        {
            // サウンド再生
            SoundManager.SPlay(jumpSE, jumpSEDeray);
        }

        // 前回までの上下方向の加速度を削除
        MoveMng.StopMoveVirtical(MoveManager.MoveType.prevMove);

        // 左右方向の移動量をジャンプ中速度まで下げる
        MoveMng.PrevMove = new Vector3(Mathf.Clamp(MoveMng.PrevMove.x, -JumpSpd, JumpSpd), MoveMng.PrevMove.y, MoveMng.PrevMove.z);

        // 左右方向の加速度を削除
        //		MoveMng.StopMoveHorizontalAll();

        // 左右方向の移動量も一更新だけ制限
        //		MoveMng.OneTimeMaxSpd = jumpStartOneTimeLimitSpd;

        // 上方向へ加速
        //float jumpGravityForce = (0.5f * Mathf.Pow(jumpTime * 0.5f, 2) + jumpHeight);	// ジャンプ中の重力加速度
        //		float jumpGravityForce = -100;   // ジャンプ中の重力加速度

        //		MoveMng.AddMove(new Vector3(0.0f, (-jumpGravityForce * JumpTime * 0.5f), 0.0f));
        //		Debug.Log(jumpGravityForce);

        // 離地方向に移動
        if (!WaterStt.IsInWater || WaterStt.IsWaterSurface)
        {
//			Debug.LogWarning("landJump");
            MoveMng.AddMove(new Vector3(0.0f, (JumpHeight), 0.0f));
        }
        else
        {
//			Debug.LogWarning("inWaterJump");
            MoveMng.AddMove(new Vector3(0.0f, (JumpHeightInWater), 0.0f));
        }

        // 離地
        Land.IsLanding          = false;
        WaterStt.IsWaterSurface = false;
        WaterStt.BeginWaterStopIgnore();

        //// ジャンプ入力を無効化
        //prevJumpStandbyFlg = jumpStandbyFlg;
        //jumpStandbyFlg = false;

        // 通常の重力加速度を一時的に無効
        //MoveMng.GravityCustomTime = (Time.time + JumpTime);
        //MoveMng.GravityForce = jumpGravityForce;

        // 次回ジャンプ可能時間を設定
        //		jumpLimitTime = Time.time + jumpTime * 0.5f;	// ジャンプしてからジャンプ滞空時間の半分の時間まではジャンプ不可

        return(true);
    }
Пример #29
0
 public MacHostNameQuery(Landing landing) : base(landing)
 {
 }
Пример #30
0
 public MacH1Query(Landing landing) : base(landing)
 {
 }