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