Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        private void _ToMap()
        {
            var stage = new BotMapStage(_User);
            stage.ResultResetEvent += (point) =>
            {
                _ToMap(point);
            };
            stage.ResultConnectEvent += () =>
            {
                _ToConnect(IpAddress, Port);
            };

            _Machine.Push(stage);
        }