コード例 #1
0
        public bool IsNeedRun()
        {
            bool run = false;

            if (Intellect != null)
            {
                run = Intellect.IsAlwaysRun();
            }
            else
            {
                run = false;
            }

            if (Intellect != null && Intellect.IsControlKeyPressed(GameControlKeys.Run))
            {
                run = !run;
            }

            return(run);
        }