示例#1
0
文件: Bot.cs 项目: jiowchern/Regulus
        private void _ToMap(Regulus.CustomType.Point born_point)
        {
            var stage = new BotMapStage(_User, born_point);
            stage.ResultResetEvent += (point) =>
            {
                _ToMap(point);
            };
            stage.ResultConnectEvent += () =>
            {
                _ToConnect(IpAddress, Port);
            };

            _Machine.Push(stage);
        }
示例#2
0
文件: Bot.cs 项目: jiowchern/Regulus
        private void _ToMap()
        {
            var stage = new BotMapStage(_User);
            stage.ResultResetEvent += (point) =>
            {
                _ToMap(point);
            };
            stage.ResultConnectEvent += () =>
            {
                _ToConnect(IpAddress, Port);
            };

            _Machine.Push(stage);
        }