コード例 #1
0
        private Action CaptureStar(IndicatorController indicatorController)
        {
            var starPlatformController = indicatorController.GetMainController <StarPlatformController>();

            return(() =>
            {
                if (!starPlatformController.HasStar())
                {
                    return;
                }
                starPlatformController.PickUpStar();
                OnCaptureStar?.Invoke();
            });
        }
コード例 #2
0
 private static IndicationType GetIndication(IndicatorController indicatorController)
 {
     return(!indicatorController ? IndicationType.EMPTY : indicatorController.GetIndication());
 }